by cstrat · 5y ago · 0 comments
In my experience mapping to a local dir is nice because you can browse the files on the host machine and can implement backups etc... quite easily.
When you do a named volume like that, where are the actual files on the host?
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?