πŸ“Š Docker
Q. Which Docker command is used to build images from a Dockerfile?
  • (A) docker build -t image_name .
  • (B) docker create -t image_name .
  • (C) docker run -t image_name .
  • (D) docker image build -t image_name .
πŸ’¬ Discuss
βœ… Correct Answer: (A) docker build -t image_name .

Explanation: 'docker build -t image_name .' is used to build an image from a Dockerfile in the current directory.

Explanation by: Vijay Sangwan
'docker build -t image_name .' is used to build an image from a Dockerfile in the current directory.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
174
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
97%
Success Rate