A

Admin • 833.24K Points
Coach

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 .
  • Correct Answer - Option(A)
  • Views: 34
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.