`up` hangs after "Container started" when creating a container with Podman on Windows (podman machine / WSL)
Summary
With Podman as container engine on Windows, creating a dev container never finishes: the log stops right after Container started, and nothing else is logged. The container itself is running (podman ps -a shows Up, podman inspect shows State.Running=true).
This looks like the same symptom as #1236 (hang after "Container started" on create/recreate with Podman), but on Windows with a Podman machine instead of Linux.
Environment
- OS: Windows 11 Pro 26H2 (win32 10.0.26300 x64), Podman machine backed by WSL2
- VS Code 1.145.2, Dev Containers extension 0.469.0, @devcontainers/cli 0.89.0 (Node v24.22.1)
- Podman client 6.1.4 / server 6.0.2, buildah 1.45.2
dev.containers.dockerPath/--docker-path:podman
devcontainer.json
{
"name": "Dev env",
"image": "node:24-slim",
"remoteUser": "node"
}
Steps to reproduce
- Open a folder with the
devcontainer.jsonabove in VS Code, with no previous containers or volumes for it. - Run "Dev Containers: Reopen in Container".
- The window stays on "Starting container" indefinitely.
Reproducible every time on container creation: first build, "Rebuild Container" and "Rebuild Container Without Cache" all end in the same hang, even when no previous containers or volumes exist.
Workaround
Force-close the remote connection and run "Reopen in Container" again (normal, no rebuild). Since the container is already built, it starts without any problem and VS Code connects normally (in the successful log the CLI runs podman start on the existing container, inspects it and installs the VS Code Server).
Related
- #1236