A

Admin • 833K Points
Coach

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

  • (A) To define the default command for the container
  • (B) To specify environment variables
  • (C) To set the working directory
  • (D) To expose network ports
  • Correct Answer - Option(A)
  • Views: 36
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin

The 'ENTRYPOINT' instruction in a Dockerfile defines the default command that will be executed when the container starts.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.