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:
volumes:
- db:/var/lib/mysql
Can I change that to:
volumes:
- /home/mike/docker/db:/var/lib/mysql ?? Is there any reason to change it?