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
πŸ’¬ Discuss
βœ… Correct Answer: (A) To define the default command for the container
Explanation: The 'ENTRYPOINT' instruction in a Dockerfile defines the default command that will be executed when the container starts.
Explanation by: Admin
The 'ENTRYPOINT' instruction in a Dockerfile defines the default command that will be executed when the container starts.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
104
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
80%
Success Rate