200-901 DevNet Associate (DEVASC)
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:
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?
- 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