mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
Pressing 'Open Floci UI' under Podman (docker-socket compat) reports every failure as a missing image and tells the user to 'docker pull floci-ui' — even when the image is present. The real causes (an unreachable Docker/Podman socket, a port clash, a daemon error) are hidden, which is especially confusing on SELinux hosts where the bind-mounted socket connect fails with 'java.net.BindException: Permission denied'. Classify the failure in FlociUiManager.describeStartFailure: - only a genuinely unavailable image (NotFoundException / docker-java's 'Could not pull image: ...' wrapper) keeps the 'docker pull' guidance; - an unreachable runtime (SocketException/BindException/ConnectException) points at the socket mount and SELinux relabeling; - any other daemon error is surfaced as-is (e.g. 'address already in use'). Also fix the Podman docs: use ':z' (shared relabel) rather than ':Z' on the shared Podman API socket, note it applies to the UI sidecar, and mention the '--security-opt label=disable' fallback. Add unit tests for the four classifications.