-
Bug
-
Resolution: Done
-
Major
-
12.1.0.Final
-
None
Fedora enables SELinux for Docker by default, and SELinux prevents the Ryuk container from connecting to the Docker socket
Pinging Docker... audit[36872]: AVC avc: denied { connectto } for pid=36872 comm="app" path="/run/docker.sock" scontext=system_u:system_r:container_t:s0:c312,c321 tcontext=system_u:system_r:container_> panic: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/_ping: dial un>
The Testcontainers documentation recommends enabling the ryuk.container.privileged property to get Ryuk working.