Hey team! π
Wanted to share an issue affecting Dagger pipelines with testcontainers on GitHub Actions ubuntu-22.04:
Problem:
- GitHub updated ubuntu-22.04 runners on Nov 12 with containerd v2.1.5 (was v1.7.28)
- Dagger pipelines using testcontainers now fail with:
Docker API responded with status code=InternalServerError, failed to mount /tmp/containerd-mount: err: invalid argument
Environment:
- Working: ubuntu22/20250929.88 (containerd v1.7.28) β
- Failing: ubuntu22/20251112.150 (containerd v2.1.5) β
- Tested: Dagger v0.19.2 and v0.19.6 (both fail)
Issue opened: https://github.com/dagger/dagger/issues/11427
Has anyone else hit this or found a workaround? The issue seems specific to Docker-in-Docker scenarios (testcontainers inside Dagger containers) with containerd v2's overlay filesystem changes.
Implementation details:
We're using the Daggerverse testcontainers module (github.com/vito/daggerverse/testcontainers@1464b057adc8229e79fcf9ab4b96670517e70a8e) which spawns a docker-in-dagger service via dag.Docker().Daemon().Service(). The Docker daemon service is where the containerd v2 overlay issue occurs when testcontainers tries to create Redis containers for tests.
Has anyone else hit this or found a workaround?
Thanks! π