Today I learned about how to use bind mounts in Docker and about different types of volumes.

I’ve been using bind mounts by copy-pasting Docker example files and docker-compose.yml files for a while. I had a vague understanding on what they do.

But you can use also use bind mounts for tricks like hiding the node_modules of your computer from the docker container.