Support Windows container images
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker, typescript
Hướng nghiên cứu
Start with the open scope question in the issue: whether Windows container support belongs here or waits on microsoft/vscode-remote-release#445, and whether features should be OS-aware or fail fast. The Linux assumptions it lists are in singleContainer.ts and dockerCompose.ts (the hardcoded /bin/sh entrypoint), the /workspaces/<name> bind mount, and the /tmp helper copies. Done would be an agreed design plus a prototype of the bring-up and exec path. Do not start coding until maintainers answer the scope question.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
-
Only Linux container images can be targeted today. On a Windows host with the daemon in
Windows-container mode the CLI fails somewhere in the mount, entrypoint or exec path, and the
errors never point at the image OS (that is what #449 chased). The extension side is tracked in
microsoft/vscode-remote-release#445, but the CLI is what builds the image, mounts the workspace and
execs into the container, so scoping it here seems reasonable; CLI support would also make
devcontainer up/execusable from a terminal on Windows containers. -
The Linux assumptions I know of: the workspace is bind mounted to
/workspaces/<name>, the
entrypoint is hardcoded to/bin/shinsingleContainer.tsanddockerCompose.ts, lifecycle
commands anduserEnvProbego through a POSIX login shell, and helper scripts are copied to
/tmp. Supporting Windows containers would mean detecting the target OS, translating the workspace
and user mounts to Windows form (drive letters,npipefor Docker-out-of-Docker), and usingcmd
orpwshfor exec and lifecycle. Features are the open question, sinceinstall.shis the
entrypoint; either the spec grows an OS-aware mechanism or the CLI fails fast for Linux-only
features. -
Is this in scope here, or intentionally gated on #445? Happy to contribute, starting with a design
discussion and a small prototype for the bring-up and exec path.
- Ngôn ngữ chính
- TypeScript
- Star
- 3k
- Fork
- 466
- Merge trung bình
- 13 giờ 28 phút
- Pull request đã merge (30 ngày)
- 2
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
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
devcontainers/cli#1327 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
devcontainers/cli#1324 ·
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ự
-
Admin search throws for permissions added through Admin.generalIndexItems('permissions', ...)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
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 78/100
Koenkk/zigbee-herdsman-converters#13540 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: Tequila Music TV RO SDĐang mởcheck:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
iptv-org/iptv#55821 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/busola/ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
kyma-project/busola#5442 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vercel-labs/wterm#246 ·
Maintainer thường phản hồi trong vòng 1 ngày