Closed FrozenSource closed 3 years ago
Where does the guidance for running the container as privileged come from? Is it in some documentation somewhere?
Based on information in https://github.com/freeipa/freeipa-container/issues/407, you might want to use systemd.unified_cgroup_hierarchy=0
on your host.
I thought maybe it could not get to a certain resource as thus I started adding possibly unnessecary permissions for the container; saw privileged somewhere but don't remember.
This did indeed fix it and looked a bit further into it. Apparently Fedora is one of the first distro's to move to V2 cgroups which the Moby Engine still does not support as opposed to podman... this apparently has been going on since Fedora 31 it might be something to put in the documentation as I imagine people might give up on freeipa because of it (which would be a waste).
I have everything in docker and as such I don't wish to move partially to podman yet, thus this workaround giving me that ability, thanks!
Good point, I've added a note to the README now. Thanks.
Hi guys,
Trying freeipa out through docker-compose though tried pretty much everything now including podman.
I have created this sample from the instructions on this repo and have also used many other configurations but I keep getting:
I am running the host on Fedora 34 with docker and the container_manage_cgroup bool enabled and SeLinux enforcing. I tried privileged, without tmpfs, all capabilities with multiple combinations of those. Is anybody able to help since I can't find any working solution either.