I’m running a
docker-compose file with the
moby-engine provided by the fedora repositories. This container mounts
/sys/fs/cgroup:/sys/fs/cgroup:ro in order to use systemd inside the container. Everything works fine if I issue a
sudo setenforce 0 to disable SELinux. But if SELinux is running, I get a
Failed to get D-Bus connection: Operation not permitted if I issue a
systemctl status inside the container.
I think this was not happening with the docker engine provided by Docker. Am I missing anything ? Is there some SELinux options to be set with
Please note that I’m running Kinoite if that’s any indication.