I usually have my docker-compose.yml file in a dir along with the mapped volume directories. Allows me to just rsync that one folder to capture all config & data.
Are names volumes just a way to not have to worry about the files and leave them handled by docker?
Yea a use case would be to to persist application data when updating by pulling a newer container. Mapping to the host introduces the possibility of conflicts between the host and/or other containers.
I usually have my docker-compose.yml file in a dir along with the mapped volume directories. Allows me to just rsync that one folder to capture all config & data.
Are names volumes just a way to not have to worry about the files and leave them handled by docker?