Docker volumes

With a Docker volumes we essentially setting up a mapping from a folder inside the container to a folder outside the container.

Example. Map a present working directory of a NodeJS project into the /app folder:

docker run -v /app/node_modules -v $(pwd):/app {{ image }}

-v $(pwd):/app - take everything in present working directory and map it to /app inside a container
-v /app/node_modules - put a bookmark on the node_modules folder inside a container, to not overwrite or to not map it