You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[docker ouside of docker] Changing the workspace to ${localWorkspaceFolder} on windows VS Code/Dev Containers does not call a workspace selector window
#1207
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?
The text was updated successfully, but these errors were encountered:
Please append the Dev Containers log from when this happens. (F1 > Dev Containers: Show Container Log)
I guess you had a multi-root workspace open on macOS to get the picker. ${localWorkspaceFolder} does not show a picker.
The problem on Windows might be that you use ${localWorkspaceFolder} as the target folder which needs to be a Linux path, but in this case is a Windows path.
When using the devcontainer on macOS (using the OrbStack as the docker engine provider) when I first launch the devcontainer I get a picker to select the workspace, and the picker uses the paths of the Linux VM.
On windows we do not get this picker, and judging by your comment it might be expected due to the Windows path elements?
Hi all,
While doing this in the devcontainer.json on macOS works great:
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?
The text was updated successfully, but these errors were encountered: