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 does the `EXPOSE` instruction do in a Dockerfile?

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

More quizzes

.NETAccessibilityAgile MethodologyAirflowAlertmanagerAlgorithms