ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 124 - XK0-005 discussion

Report
Export

A systems administrator created a new Docker image called test. After building the image, the administrator forgot to version the release. Which of the following will allow the administrator to assign the v1 version to the image?

A.
docker image save test test:v1
Answers
A.
docker image save test test:v1
B.
docker image build test:vl
Answers
B.
docker image build test:vl
C.
docker image tag test test:vl
Answers
C.
docker image tag test test:vl
D.
docker image version test:v1
Answers
D.
docker image version test:v1
Suggested answer: C

Explanation:

The docker image tag test test:v1 command can be used to assign the v1 version to the image called test. This command creates a new tag for the existing image, without changing the original image.

The docker image save test test:v1 command would save the image to a file, not assign a version. The docker image build test:vl command is invalid, as vl is not a valid version number. The docker image version test:v1 command does not exist. Reference: [CompTIA Linux+ (XK0-005) Certification Study Guide], Chapter 16: Virtualization and Cloud Technologies, page 500.

asked 02/10/2024
Charles Brono
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first