- 1 перегляд
Exam
Answer confirmed
Question
You have a Windows Server container host named Host1.
You need to add a container image to Host1.
Which command should you run?
Select only one answer.
docker commit docker images docker pull
This answer is correct.
docker run
Incorrect - The docker commit command is used to make changes to existing containers.
Incorrect - The docker images command is used to list container images that are available locally.
Correct - You need to run docker pull to download and add a container image.
Incorrect - The docker run command is used to start a container.