Comment on How do I run docker compose on Bazzite?
giacomo@lemm.ee 5 days ago
when I moved my docker setup to a fedora coreos podman setup, the volume mounts required an additional option for a label to play nice with selinux. ‘z’ if the mount is shared between multiple containers and ‘Z’ if its just for one container.
the podman docs definitely go into more details.
ive also seen people talk on the discord about scripts that can take your yaml files and write container files to be used with podman-systemd that seemed pretty nice. i think there is also a podman-compose option out there, but I’m not super familiar with that.
Dave@lemmy.nz 5 days ago
Oh shit I think that’s it! I’ve added that Z flag to each bind mount declaration in compose.yaml, and it seems to be running properly now. Thanks!
Any idea what the implications are of this transferring to an ubuntu based distro?
giacomo@lemm.ee 5 days ago
im not sure about ubuntu based distros. without selinux, you may not need the extra option on the volume mound.
Dave@lemmy.nz 5 days ago
Ok thanks, I’ll have to be extra careful deploying any changes.