Docker and CI/CD · Junior · Question 16 of 75

What is the difference between a volume and a bind mount?

Explanation

Volumes live in Docker's storage area and are the default choice for data. Bind mounts expose a specific host folder, which is handy in development for live code reloading.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 16

Test yourself

Take the Docker and CI/CD · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz