πŸ“Š Docker
Q. What is the purpose of the ENTRYPOINT instruction in a Dockerfile?
  • (A) To specify the base image
  • (B) To define the default command to run in the container
  • (C) To set environment variables
  • (D) To copy files into the container
πŸ’¬ Discuss
βœ… Correct Answer: (B) To define the default command to run in the container

Explanation: The ENTRYPOINT instruction defines the default command to run when the container starts.

Explanation by: Rakesh Kumar
The ENTRYPOINT instruction defines the default command to run when the container starts.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
198
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
84%
Success Rate