exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 145 discussion

Actual exam question from CompTIA's XK0-005
Question #: 145
Topic #: 1
[All XK0-005 Questions]

A Linux administrator is providing a new Nginx image from the registry to local cache. Which of the following commands would allow this to happen?

  • A. docker pull nginx
  • B. docker attach nginx
  • C. docker commit nginx
  • D. docker import nginx
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
Highly Voted 5 months ago
A. docker pull nginx Explanation: docker pull command is used to pull an image from a registry and store it in the local Docker image cache. nginx is the name of the image that will be pulled.
upvoted 5 times
...
Eikan
Most Recent 2 weeks, 4 days ago
Selected Answer: A
docker pull - This command allows you to pull any image which is present in the official registry of docker, Docker hub. By default, it pulls the latest image, but you can also mention the version of the image.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago