Comment on How do I run docker compose on Bazzite?
Dave@lemmy.nz 3 weeks agoI’m already using bind mounts under the /home directory. I learnt pretty early on day 1 not to fight the distro, so I’m trying to understand the way Bazzite wants this to be done. From another reply, it sounds like it’s a difference in rootless/rootful containers so I’m going to try to work out how to run a podman container as root and see if this helps.
just_another_person@lemmy.world 3 weeks ago
No, it’s the difference between your docker service knowing it’s datadir isn’t in /var/lib and not.
Shut down docker. Create a datadir in your writeable mount, change the docker configs to point to the new location, and restart.
Here’s an example: linuxconfig.org/how-to-move-docker-s-default-var-…
Dave@lemmy.nz 3 weeks ago
I seem to have got it working using podman, adding a Z flag to the bind mount to make SELinux happy.