Is it a bad idea to recursively change the permissions for the /var/lib/docker directory? That directory is owned by root:root and the permissions are rwx–x—.
I’m hoping to be able to access my named volumes without using sudo so that I can easily back them up.
I think you’re thinking of bind mounts. Named volumes live in /var/lib/docker/volumes.
Gotcha - my mistake.
Something like this? https://stackoverflow.com/a/39125414