A developer has created a new image to use in a Docker build and has added a tag for the image by using the command: $ docker tag 84fe411926287 local/app:0.4 Which command must be executed next to build the Docker image using the tag?

By | November 19, 2022

  • A. $ docker build -p local/app:0.4
  • B. $ docker run -t local/app:0.4
  • C. $ docker run -p local/app:0.4
  • D. $ docker build -t local/app:0.4
Answer: Option D.
Explanation: 

No answer description available for this question.

The post A developer has created a new image to use in a Docker build and has added a tag for the image by using the command:<br> $ docker tag 84fe411926287 local/app:0.4<br> Which command must be executed next to build the Docker image using the tag? appeared first on Majanto.