Pass DOCKER_HOST into the runner container; document NixOS podman socket setup #7
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-5-runner-docker-host"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the startup crash-loop on fresh machines and makes the NixOS prerequisite actually work.
What happened: zhuiri.service crash-looped with
cannot ping the docker daemon ... unix:///var/run/docker.sockand hit the systemd start limit. Two independent problems:Environment=DOCKER_HOSTwas set under[Service], so it only reached thepodman runCLI process — never the runner container. Withdocker_host: "-"the runner (v12.12.0getDockerSocketPath) then scanned well-known socket paths, where/var/run/docker.sockis checked first, and pinged a socket that isn't a live podman endpoint. Moving the line into[Container]makes Quadlet emit--env DOCKER_HOST=...(verified withpodman-system-generator --user --dryrun), and systemd expands%Uin the ExecStart line as it already does for the Volume paths. Verified end-to-end: the daemon starts, declares itself to forge.marvin8.zone, and picks up jobs.On NixOS the documented
systemctl --user enable --now podman.socketprerequisite fails because the podman user unit is not in the user-manager search path. The store-symlink workaround dangles after podman upgrades + GC, leaving a zombie socket unit that holds no listening FDs — connection refused with no obvious cause. The README now documents installing the unit as a real file (content identical to the unit shipped with podman,ListenStream=%t/podman/podman.sock— no store-path dependency).Closes #5
Closes #6