All quizzes
Free quiz · 46 questions in the bank

Docker quiz

Test your Docker knowledge with a free interactive quiz — 46 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What is the difference between a Docker image and a container?

In this round
  1. What is the difference between a Docker image and a container?
  2. What is the purpose of `WORKDIR` in a Dockerfile?
  3. What is the Docker daemon?
  4. What does `docker pull` do?
  5. What does `docker ps` show?
  6. What is the `FROM` instruction in a Dockerfile?
  7. What does `docker logs` show?
  8. What does the `EXPOSE` instruction do in a Dockerfile?
  9. What does `docker run` do?
  10. What is the purpose of `.dockerignore`?
  11. What does `docker build` do?
  12. What environment variables can you set in a Dockerfile?
Gaps to close?
Read the curated Docker notes — core concepts, patterns, interview prep.
Docker notes

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid