Skip to content

Docker Intermediate Quiz

Back to Quiz Home

Welcome! 🐳
Test your knowledge on Docker networking, volumes, and composition.

Instructions:

  • Select the best answer for each question.
  • Your score will be shown at the end.
#

Which command is used to show container logs?

#

What is a Docker Volume used for?

#

Which command is used to launch a multi-container application defined in a YAML file?

#

Which Docker network driver is the default for containers?

#

How do you execute a command inside a running container?

#

Which command removes an image?

#

What is the purpose of .dockerignore file?

#

Which flag maps a port from the container to the host?

#

What is a dangling image?

#

Which command creates a new volume?

#

Which command builds an image from a Dockerfile in the current directory?

#

What is the default name of the Docker configuration file that defines a multi-container application?

#

In Docker Compose, which keyword defines the dependencies between services?

#

Which network driver creates a distributed network among multiple Docker daemon hosts?

#

How can you isolate a container from the host network stack?

#

What command lists all networks?

#

How do you inspect a specific network?

#

Which command removes all unused networks?

#

What is a Bind Mount?

#

Which instruction in Dockerfile is used to copy files from the context to the image?

Quiz Progress

0 / 0 questions answered (0%)

0 correct


📚 Study Guides


📬 Weekly DevOps, Cloud & Gen AI quizzes & guides