I run many Docker containers on my server. The way I like to set up my containers is that for their config dirs, I generally put them in my ~/docker dir. Let me give you an example.
The default docker-compose syntax for mariadb is:
Can I change that to:
- /home/mike/docker/db:/var/lib/mysql ?? Is there any reason to change it?