CI podman detection is not fully reliable #113129
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
T-infra
Relevant to the infrastructure team, which will review and decide on the PR/issue.
podman is (by design) not fully compatible with docker when it comes to user permissions. Therefore,
./src/ci/docker/run.sh
needs to look behind thedocker
curtain to figure out whether it's actually podman and opt out of the user isolation.rust/src/ci/docker/run.sh
Lines 219 to 226 in eb76764
With ubuntus docker podman compat package this works fine, because there
docker --version
prints something containing podman. But if you symlinkdocker
topodman
(something NixOS does if you set up docker-podman compat) thendocker --version
actually printsdocker version 4.5.0
. Podman outsmarts CI's detection.I'm not sure about the ideal way to fix this, but
docker system --help
contains "manage podman" for me, so do whatever you want with this information.The text was updated successfully, but these errors were encountered: