XK0-005 · Question #10480
A Linux administrator needs to ensure that Java 7 and Java 8 are both locally available for developers to use when deploying containers. Currently only Java 8 is available. Which of the following…
The correct answer is B. docker image pull java:7. The command that the administrator should run to ensure that both Java 7 and Java 8 are locally available for developers to use when deploying containers is docker image pull java:7. This command will use the docker image pull subcommand to download the java:7 image from Docker…
Question
Options
- Adocker image load java:7
- Bdocker image pull java:7
- Cdocker image import java:7
- Ddocker image build java:7
How the community answered
(59 responses)- A2% (1)
- B92% (54)
- C2% (1)
- D5% (3)
Explanation
The command that the administrator should run to ensure that both Java 7 and Java 8 are locally available for developers to use when deploying containers is docker image pull java:7. This command will use the docker image pull subcommand to download the java:7 image from Docker Hub, which is the default registry for Docker images. The java:7 image contains Java 7 installed on a Debian-based Linux system. The administrator can also specify a different registry by using the syntax registry/repository:tag.
Topics
Community Discussion
No community discussion yet for this question.