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
{{ message }}
Repository navigation
Podman: up can hang after "Container started" on create/recreate #1236
devcontainer up can hang forever after printing Container started when using Podman and creating/recreating a container. It appears to be waiting for the Podman start event even though the container is already running.
Repro
DCMAN_SSH_PORT=56701 devcontainer up \
--remove-existing-container \
--skip-post-create \
--no-lockfile \
--docker-path podman \
--update-remote-user-uid-default never \
--workspace-folder /path/to/workspace
The workspace a .devcontainer.json very similar to this (some stuff removed). --skip-post-create still reproduces the hang, so postCreateCommand does not appear to be the cause.
After Container started, the CLI should inspect/setup the running container and continue to user commands or finish.
Actual
The CLI hangs after:
Start: Run: podman run ...
Container started
Process inspection shows a live podman events --format json --filter event=start child and the attached podman run child. The container is running and podman events --since ... --filter event=start shows the matching start event with the expected devcontainer.local_folder / devcontainer.config_file labels.
Existing-container devcontainer up completes. --skip-post-create still hangs, so this is before post-create. Running with --log-level debug or trace often makes it pass, which looks like a timing race in the event listener setup.
Versions tested
@devcontainers/cli 0.87.0 and 0.86.0
Podman 5.8.2
Node 24.15.0 and 22.22.3
Fedora 43 / Linux 7.0.4
Reacted by reimer-atb, JanKap, Marion Nourry, Oleksii Holub, Alberto Bollo and cwe1ss
Activity
Work around devcontainer up hanging when it creates a container
Make the dev container recipes and pre-commit hook work everywhere
jankap commentedon Sep 9, 2026
Can confirm.
bvarner commentedon Nov 2, 2026
Just ran into this one. podman on macos.
simonambler commentedon Nov 9, 2026
This happens for me as well.