How to change Docker data-dir folder

Actually, yes, using a bind-mount to make a path stored on /home be /var/snap/docker/common/var-lib-docker will solve the problem because the apparmor rules will marshal the latter path without resolving it to the /home path.

1 Like