S

Shiva Ram • 30.44K Points
Instructor I

Q. What is the default command that Docker runs in a container if no command is specified?

  • (A) CMD
  • (B) ENTRYPOINT
  • (C) RUN
  • (D) BOTH CMD AND ENTRYPOINT

Explanation by: Shiva Ram
If no command is specified, Docker will use the default command specified in the Dockerfile as CMD.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.