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/5Score 0

What is the `COPY` vs `ADD` instruction in Dockerfile?

Questions in this quiz
  1. What is the `COPY` vs `ADD` instruction in Dockerfile?
  2. What is a multi-stage build in Docker?
  3. What does the `EXPOSE` instruction do in a Dockerfile?
  4. What is the Docker daemon?
  5. What is `docker network`?
  6. What does `docker logs` show?
  7. What is the purpose of `WORKDIR` in a Dockerfile?
  8. What is Docker Hub?
  9. What is the difference between `CMD` and `ENTRYPOINT` in a Dockerfile?
  10. What does `docker exec -it <container> bash` do?
  11. What does `RUN` do in a Dockerfile?
  12. What is the `FROM` instruction in a Dockerfile?
Gaps to close?
Read the curated Docker notes — core concepts, patterns, interview prep.
Docker notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web