A

Admin • 833.24K Points
Coach

Q. What is the purpose of Docker's 'ENTRYPOINT' instruction in a Dockerfile?

  • (A) To define the default command to run when a container starts
  • (B) To specify the image to use for the container
  • (C) To set environment variables for the container
  • (D) To define the working directory for the container
  • Correct Answer - Option(A)
  • Views: 34
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin

'ENTRYPOINT' defines the default command that gets executed when a container starts.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.