Valid 200-901 Dumps shared by ExamDiscuss.com for Helping Passing 200-901 Exam! ExamDiscuss.com now offer the newest 200-901 exam dumps, the ExamDiscuss.com 200-901 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 200-901 dumps with Test Engine here:
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?
Correct Answer: D
The docker build command is used to build an image from a Dockerfile. The -t option tags the image with a specified name and tag. * Tagging: The docker tag command associates an image ID with a repository and tag. * Building with Tag: The correct command to build the Docker image and tag it as local/app:0.4 is docker build -t local/app:0.4. Option D is the correct command to build and tag the image. Reference: Docker Documentation: Docker Build Reference