Q. What does the 'docker build' command do?

  • (A) Creates a new Docker image from a Dockerfile
  • (B) Starts a container from an existing image
  • (C) Lists all available Docker images
  • (D) Removes a Docker image
πŸ’¬ Discuss
βœ… Correct Answer: (A) Creates a new Docker image from a Dockerfile
Explanation: 'docker build' is used to create a new Docker image from a Dockerfile.
Explanation by: Gopal Sharma
'docker build' is used to create a new Docker image from a Dockerfile.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
222
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Gopal Sharma
Publisher
πŸ“ˆ
97%
Success Rate