Support Windows container images
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 12/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- docker, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
-
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3k
- Forks
- 466
- Ø Merge
- 13 Std. 28 Min.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus devcontainers/cli
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
devcontainers/cli#1325 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
devcontainers/cli#1203 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 68/100
devcontainers/cli#1178 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
devcontainers/cli#1327 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 45/100
devcontainers/cli#1324 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in devcontainers/cli
Ähnliche Issues
-
area:plugins enhancement platform:vscode
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
anthropics/claude-code#103166 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add: Add pogo tv indiaOffencheck:failed streams:add
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
iptv-org/iptv#55744 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
jitsi/jitsi-meet#18021 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
Maintainer antworten meist innerhalb von 1 Tag
-
spec: discovery input example can contain multiple aliases for one parameter, with no canonical oneOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 95/100
x402-foundation/x402#3841 ·
Maintainer antworten meist innerhalb von 1 Tag