XK0-005 · Question #1446
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?
The correct answer is A. docker pull nginx. The command that would allow this to happen is docker pull nginx. Docker is a software platform that allows the administrator to create, run, and manage containers on Linux systems. Containers are isolated and lightweight environments that can run applications and services…
Question
Options
- Adocker pull nginx
- Bdocker attach nginx
- Cdocker commit nginx
- Ddocker import nginx
How the community answered
(27 responses)- A89% (24)
- B4% (1)
- C7% (2)
Explanation
The command that would allow this to happen is docker pull nginx. Docker is a software platform that allows the administrator to create, run, and manage containers on Linux systems. Containers are isolated and lightweight environments that can run applications and services without affecting the host system. Docker uses images to create containers, which are files that contain the code, libraries, dependencies, and configuration of the applications and services. Docker uses a registry to store and distribute images, which is a service that hosts and serves images. Docker Hub is the default public registry that provides a large number of official and community images. Nginx is a popular web server and reverse proxy that can run as a container. The command docker pull nginx will download the latest version of the Nginx image from the Docker Hub registry to the local cache, which is the storage location for the images on the host system. This will allow the administrator to provide a new Nginx image from the registry to the local cache.
Topics
Community Discussion
No community discussion yet for this question.