Docker Commands Quiz

Start Quiz

Study Flashcards

3 Questions

What command is used to output the currently installed version and build number of docker?

docker version

What command is used to delete a stopped container?

docker rm

What command is used to build a docker image based on the instructions specified in a Dockerfile?

docker build

Study Notes

  • The docker command is used to output the currently installed version and build number of docker.
  • The docker pull command is used to pull images from a docker repository.
  • The docker run command is used to start a docker container from a docker image.
  • The docker ps command is used to output a list of containers currently running inside the docker engine.
  • The docker commit command is used to create a new image of an edited container on the local system.
  • The docker push command is used to push an image into a docker repository.
  • The docker rm command is used to delete a stopped container.
  • The docker rmi command is used to delete a locally stored docker image.
  • The docker build command is used to build a docker image based on the instructions specified in a Dockerfile.

Test your knowledge of Docker commands with this quiz covering essential commands for managing Docker containers and images.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

05A - Docker Networking
18 questions

05A - Docker Networking

EntrancedDobro6607 avatar
EntrancedDobro6607
04 - Docker Fundamentals
18 questions

04 - Docker Fundamentals

EntrancedDobro6607 avatar
EntrancedDobro6607
Use Quizgecko on...
Browser
Browser