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

Open
#1,207 4 comments 0 reactions 1 assignee Claimed by @chrmarti View on GitHub
Dominant language
Shell
Stars
1.5k
Forks
621
Avg merge
2d 11h
Merged PRs (30d)
4

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.