fix(docker): recommend label=disable, not :z, when SELinux blocks the Podman socket (#7434)

The Podman docs and the web console's start-failure message told SELinux users to relabel the socket mount with :z. On a rootless podman machine (SELinux enforcing) that recipe fails: the web console cannot start and a Lambda invoke returns "Docker is not reachable (Permission denied)". :z fixes access to the socket file, but SELinux also denies connectto from the Floci container (container_t) to the Podman service (container_runtime_t), which a relabel can't fix; --security-opt label=disable avoids it. With it, the same recipe starts the console and invokes a Python Lambda.
This commit is contained in:
soreavis authored and GitHub committed 2026-11-03 14:17:49 -04:00
1 parent fbfe9048a1
commit bb6f46c104
4 files changed
+17 -12

No files matched your search

@@ -851,8 +851,8 @@ public class FlociUiManager {
return "Could not start the Floci web console: Floci could not reach the container runtime ("
+ detail
+ "). Check that the Docker/Podman socket is mounted into the Floci container and "
+ "accessible — on SELinux hosts the socket bind-mount may need relabeling "
+ "(e.g. ':z') or '--security-opt label=disable'.";
+ "accessible. On SELinux hosts, start the Floci container with "
+ "'--security-opt label=disable'.";
}
return "Could not start the Floci web console from image '" + image + "': " + detail + ".";
}