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 environment variables can you set in a Dockerfile?

Questions in this quiz
  1. What environment variables can you set in a Dockerfile?
  2. What is a Docker volume?
  3. What is the difference between a Docker image and a container?
  4. What does `RUN` do in a Dockerfile?
  5. What is Docker?
  6. What is the `COPY` vs `ADD` instruction in Dockerfile?
  7. What does `docker exec -it <container> bash` do?
  8. What does `docker logs` show?
  9. What is the purpose of `.dockerignore`?
  10. What is the Docker daemon?
  11. What does `docker-compose up` do?
  12. What does `docker build` do?
Gaps to close?
Read the curated Docker notes — core concepts, patterns, interview prep.
Docker notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web