Repository navigation
refactor(image): replace podman runtime with DooD-only client - #1122
Merged
Merged
Conversation
c-vigo
force-pushed
the
feature/1106-podman-dood-client
branch
from
July 15, 2026 12:55
159a321 to
f59de17
Compare
c-vigo
enabled auto-merge
July 15, 2026 12:56
The image shipped the full local podman runtime (crun, criu, conmon, netavark, rootless-networking/networking helpers, libkrun/libkrunfw, aardvark-dns, fuse-overlayfs, runc) solely to run isolated containers in-container -- the retired podman-in-podman sidecar model, declared non-contract in #1103. All remaining usage is Docker-out-of-Docker against the host's rootless podman socket, where podman is a thin client. Swap the image's podman for a client-only build: .override the helper inputs with an empty stub and drop extraRuntimes, keeping the podman binary, --version, and completions. Scope the swap to imageTools (filter the full podman out of the devTools SSoT and add the client) so the dev-shell keeps its daemonless runtime unchanged. Point the docker->podman shim at the client so it cannot re-pull the full runtime. Drops ~67 MiB of uncompressed image closure; systemd stays (buildInput linked into the podman binary). Allowlist the removed helper's package name in the typos config. Refs: #1106
c-vigo
force-pushed
the
feature/1106-podman-dood-client
branch
from
July 15, 2026 13:18
f59de17 to
4ea0e2f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The image shipped podman's full local runtime for the retired podman-in-podman
sidecar model. Everything the scaffold actually does is Docker-out-of-Docker
against the host's rootless podman socket (
initialize.shmounts it as/var/run/docker.sock), so the image now ships a client-only podman:pkgs.podman.overridewith the helper inputs (crun,conmon,netavark,passt,aardvark-dns,fuse-overlayfs,runc) stubbed andextraRuntimes = [].catatonitstays (tiny; keeps the installPhase globnon-empty). The
docker → podmanshim is retained and repointed at the clientbuild so it cannot silently re-pull the full runtime.
Scope guard: the swap is image-only —
devTools(the SSoT) still ships thefull runtime, so dev-shell users keep daemonless
podman runon real hosts.Contract: in-container isolated (nested) container execution is removed —
declared non-contract in #1103 (
semver:minor).Honest size correction
Net closure reduction is ~67 MiB, not the epic's ~254 MiB estimate. The
estimate assumed dropping podman entirely; keeping the client binary (~54 MiB)
and
systemd(rpath-linked into podman;systemdMinimalbreakspodman logsper the nixpkgs pin) accounts for the difference. The strategic goal is fully
met regardless:
criuis gone, which removes one of the four anchors of theredundant CPython 3.13 interpreter (unblocks #1107). Changelog and flake comment
carry the corrected figure. Epic table will be updated.
Evidence
grep -E 'crun|criu|conmon|netavark|passt|libkrun|aardvark|fuse-overlayfs|runc-'over the new closure → empty (verified independently, including
gvproxy,which the pin already excludes on this platform)
podman --version→podman version 5.8.2; bash/zsh/fish completions presenttest_image.pyasserts only client-level behavior(
podman --version, docker shim); no test asserts in-image runtime helpers.vulnixignore: no stranded entries (thepodmanCVE entry stays valid —client still ships; systemd-transitive entries persist since systemd stays)
prek run --all-files, exit 0).typos.toml: allowlistpasst(real package name)Part of epic #1103 (sub-issue 3/5).
Closes #1106