[Cialug] Docker Volumes

L. V. Lammert lvl at omnitec.net
Wed Oct 26 21:32:07 UTC 2022


I just had to rebuild a system and would REALLY have liked the docuer
volumes to be stored in speficic location other than root.

First question - how would one restore /var/lib/docker? There is a ton of
btrfs data there - is that used by docker or the host (which is also
btrfs)?

Second question - is there way to specify a base path for all volumes in a
compose file so that those volumes are save in a specific directory NOT
in root?

It would also serves to separate different docker apps on a system so that
grabbing that directory gets the compose file AND data volumes.

Any insights would be appreciated!

	TIA!


More information about the Cialug mailing list