A

Admin • 828.43K Points
Coach

Q. What is the difference between CMD and ENTRYPOINT?

  • (A) ENTRYPOINT is used during build only
  • (B) CMD cannot be overridden
  • (C) CMD sets default arguments, ENTRYPOINT sets fixed command
  • (D) They are the same

Explanation by: Admin
ENTRYPOINT defines the main command, CMD defines default parameters which can be overridden.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.