An administrator needs to download the latest version of an Ubuntu image for container deployment. Which of the following commands will perform this operation?
The command docker pull ubuntu retrieves the latest version of the Ubuntu image from the default Docker hub registry. docker pull ubuntu is the correct command because it specifies only the image name, which defaults to pulling the 'latest' tag if no other version is specified. pull ubuntu is incorrect because it is missing the docker command. docker push ubuntu is incorrect because it is using push which is for uploading images, not downloading them. docker rmi ubuntu is incorrect because rmi is used to remove images, not to pull them.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Docker and how does it work?
Open an interactive chat with Bash
What is a Docker image and how is it different from a container?
Open an interactive chat with Bash
What is the Docker Hub and how does it relate to the `docker pull` command?