Q. Which of the following commands is used to build a Docker image from a Dockerfile?

  • (A) docker create
  • (B) docker build
  • (C) docker run
  • (D) docker image build
πŸ’¬ Discuss
βœ… Correct Answer: (B) docker build
Explanation: 'docker build' is the correct command to build an image from a Dockerfile.
Explanation by: Admin
'docker build' is the correct command to build an image from a Dockerfile.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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