devcontainers / devcontainers/features

[docker ouside of docker] Changing the workspace to `${localWorkspaceFolder}` on windows VS Code/Dev Containers does not call a workspace selector window

Aperta
#1,207 4 commenti 0 reazioni 1 assegnatario Rivendicata da @chrmarti Vedi su GitHub
Lingua principale
Shell
Stelle
1.5k
Fork
622
Merge medio
6g 53m
PR unite (30g)
9

Descrizione

Hi all,
While doing this in the devcontainer.json on macOS works great:

```json
"workspaceFolder": "${localWorkspaceFolder}",
"workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind"
```

It does not work on windows 11 and vscode. Trying to run a devcontainer with this config does not open up a window with the workspace selection like it does on macOS, and instead the devcontainer build fails with invalid mount error calling out the workspace dir does not exist.

Is this a known issue?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.