A

Admin • 828.43K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 16
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin
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.

Be the first to start discuss.