You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The #1235 ownership repair keys on the runtime CLI name (RUNTIME = "docker"), not the actual engine. On a host where docker is the rootless-podman compat shim (e.g. NixOS virtualisation.podman.dockerCompat), install.sh --docker:
scaffolds via container-root, whose output rootless podman already maps to the invoking user (correct, no repair needed), then
runs the repair chown -R $(id -u):$(id -g)inside the rootless container — where the host UID maps to an unmapped subuid on the host.
Result: the whole tree flips from correctly-owned to subuid-owned (stat shows UNKNOWN UNKNOWN), the host-side git phase fails (fatal: not a git repository), and the user needs sudo chown to recover. A regression of the #1235 fix: the same invocation with the 1.4.0 installer produces a correctly-owned, git-initialized tree.
The repair must run only when the scaffold output actually needs it. Condition on the observed state, not the CLI name: after the scaffold container exits, check whether the tree is owned by the invoking user; only if not, run the chown repair. This fixes real docker (root-owned output) and is a no-op under any rootless-podman flavor, shim or not.
Impact
Release-blocking for 1.4.1: shipping it breaks --docker installs on rootless-podman shim hosts that work on 1.4.0 (the vigo-nixos deploy targets are exactly such hosts).
Activity
fix(install): run docker ownership repair only when the tree is not u…
chore: release 1.4.1 (#297)
chore: release 1.4.1 (#1247)
c-vigo commentedon Jul 23, 2026
Fixed by PR #1253 (observed-ownership-conditioned docker repair), merged into
release/1.4.1and live-verified on the rootless-podman docker-shim host (owner intact + git phase green, 103/103 bats). Shipped in 1.4.1, promoted 2026-07-23. Closing.fix: keep the dev-shell toolchain in lockstep with consumer adoption (#…