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 }}