Docker Commands Quiz

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which command is used to output a list of containers currently running inside the docker engine?

  • docker run
  • docker pull
  • docker ps (correct)
  • docker images

Which command is used to login into a docker repository?

  • docker build
  • docker rmi
  • docker push
  • docker login (correct)

Which command is used to create a new image of an edited container on the local system?

  • docker commit (correct)
  • docker pull
  • docker build
  • docker run

Flashcards are hidden until you start studying

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 login command is used to login into a docker repository.
  • The docker images command is used to list all the docker images stored on the machine.
  • 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.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

More Like This

Docker Basics Quiz
46 questions

Docker Basics Quiz

SuitableSerpentine avatar
SuitableSerpentine
Docker and Containerization Quiz
39 questions
Use Quizgecko on...
Browser
Browser