News for hackers. Stuff that matters.
Re:Run your ghost blog on Raspberry Pi for free by galenguyer on Sunday May 09, 2021 @11:02PM (#27102258)
On Debian they end up under /var/lib/docker/volumes/
Re:Run your ghost blog on Raspberry Pi for free by cstrat on Sunday May 09, 2021 @11:06PM (#27102292)
Ah ok cool, I guess it isn't hard to find then.

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?

Re:Run your ghost blog on Raspberry Pi for free by kcb on Sunday May 09, 2021 @11:31PM (#27102421)
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.
Re:Run your ghost blog on Raspberry Pi for free by vorpalhex on Monday May 10, 2021 @12:01AM (#27102555)
You can move them as well.