Repository navigation
Description
Priority
extreme. The cause is in the standard's container backend (standard/container.py) and in the host probe (hosts.py).
Components
- app/nullius (backend)
- app/web (routes)
- templates and static files
- docs and the site
- catalogue (benchmarks, agents, capabilities)
- the standard (ports, kits, relay, runs)
- CI, workflows and skills
Evidence
container.engine() picks podman only when docker is not on the PATH, or is podman under that name. The host probe picks docker whenever the program is there (hosts.py: "docker" if result["docker"] else "podman" if result["podman"] else None), although it already asks docker ps and podman ps.
Reproduced on main (0e6ae8c) in a python:3.12 container whose PATH holds only stubs: a docker whose ps and version fail with "permission denied while trying to connect to the Docker daemon socket", and a podman that answers.
| Check | Result |
|---|---|
container.engine() |
docker |
sandbox.docker_state() (Settings → Sandbox) |
ok: False: "docker is installed but not usable by this user: permission denied … podman is on this machine: Nullius uses it when docker is not on the PATH" |
prerequisites.check_here(["engine"], standard=True) |
the engine row missing, with the same text |
hosts.test on a host with the same programs |
docker_ok: False, podman_ok: True, engine: docker |
| Run builder, Where, Test connection on that host | "✓ Connected · ✕ docker not usable by this user: this run needs it" |
Screenshot
No response
Reproduction
- Install docker and podman on a machine. Leave docker's daemon stopped, or keep the user out of the docker group, so that
docker psfails andpodman psworks. - Start Nullius and open Settings → Sandbox.
- It shows the docker error. A standard recipe on the container backend cannot run here, and Test connection on such a host says docker is not usable.
Expected
When docker does not answer and podman does, the container backend uses podman, on this machine and on a host. When both answer, docker stays the engine. When neither answers, the reason stays as today.
Acceptance
-
container.engine()returns podman whendocker psfails andpodman pssucceeds, docker when both succeed, and docker when neither does. - A machine with only one of the two makes no extra call when Nullius starts.
- The host probe's
enginefollows the same rule fromdocker_okandpodman_ok, and a run on that host picks the same engine. - Settings → Sandbox names the engine in use and, when both are installed, the other one with its version or why it does not answer.
- Tests cover each combination with stub programs only, and the new ones fail on main.
Dependencies and related
- Standard: support Podman as the container engine #96 and feat(standard): support Podman as the container engine #97: Podman as the container engine.
- Tests: the host probe test runs the machine's own podman and times out #216: the host probe test now runs on its own stubs only.
Activity
fix(standard): use podman when docker is installed but does not answer (