`up` hangs after "Container started" when creating a container with Podman on Windows (podman machine / WSL)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 54/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- node.js, typescript
Hướng nghiên cứu
Start by comparing the container creation path with the existing Podman hang reported in #1236, then trace what the CLI does after logging "Container started" on Windows with Podman. The report provides no source files or tests, so locate the creation flow and its tests from that log point. Done when a fresh container creation completes and the CLI proceeds to connect, including on Podman machine backed by WSL2.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 3k
- Fork
- 475
- Merge trung bình
- 10 giờ 31 phút
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của devcontainers/cli
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
devcontainers/cli#1325 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
devcontainers/cli#1203 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
devcontainers/cli#1178 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
up hangs after compose up -d on a cold start (Node 26, Compose 5.6)Có thể đã có người làm @v-Kaniska244 đã nhận 6 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
devcontainers/cli#1354 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`devcontainer up --mount` rejects `type=image` and mount options such as `subpath`Có thể đã có người làm @agmitron đã nhận 9 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
devcontainers/cli#1352 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của devcontainers/cli
Issue tương tự
-
bug
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
amosblomqvist/learnharness#758 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Change WorkspacesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
bitfocus/companion-module-renewedvision-propresenter-api#134 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
rcpch/digital-growth-charts-react-component-library#304 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
dsh-market/dsh-market#1210 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
trustjonathan/STUDY-HUB#13 ·