mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 23:29:28 -05:00
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:
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 + ".";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user