Quick question if you don't mind, do you use a tool in particular when you mount your directories to the container, or do you just use the -v command ?
I use docker-compose which allows you to set up docker container configurations in a docker-compose.yml file. Volume mounting is described in the docker-compose file documentation.
It's an alternative to using the base docker command and using -v every time. I don't like having to remember what options I used for a custom docker container, so for me, slapping it into a config file and running docker-compose up or docker-compose down is a huge benefit.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.