Podman and SELinux fixes to the Docker setup
The current Docker / Docker Compose setup does not work on Podman due to volume mount issues. It also does not work if SELinux is in enforcing mode, because volume mounts are not correctly labeled.
After applying these changes the setup will work with rootless Podman and SELinux. The changes have been tested on Rocky Linux 9.
I will set up a VM with Rocky Linux 9 and SELINUX=enforcing and dig into this.
I will set up a VM with Rocky Linux 9 and
SELINUX=enforcingand dig into this.
Great! Let me know if you want me to test out something - I'm more than happy to do it. The more I can upstream the better :smile:.
I've tested deploying An Otter Wiki on Rocky9 with SELINUX=enforcing with both podman and docker it worked well. For podman the :z flag for the bind-mount was required, docker seems to set the required flags per default.
I covered this in the bran dnew FAQ and added a info box to the podman part of the Install Documentation.
Thank yor for bringing this to my attention!