Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid mount path when trying to run a Windows devcontainer #5106

Closed
alexkirsz opened this issue May 27, 2021 · 2 comments
Closed

Invalid mount path when trying to run a Windows devcontainer #5106

alexkirsz opened this issue May 27, 2021 · 2 comments
Labels
containers Issue in vscode-remote containers

Comments

@alexkirsz
Copy link

  • VSCode Version: 1.54.3
  • Local OS Version: Windows 10 Pro 20H2 19042.985
  • Remote OS Version: Windows Server Core 20H2 19042.985
  • Remote Extension/Connection Type: Docker
  • Logs:
[5782 ms] Start: Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount source=c:\workspace,target=C:\workspace,type=bind,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l vsch.local.folder=c:\workspace -l vsch.quality=stable -l vsch.remote.devPort=0 --entrypoint /bin/sh vsc-workspace-2525c8d4d8025e776eae29a8440a45e2 -c echo Container started ; trap "exit 0" 15; while sleep 1 & wait $!; do :; done
docker: Error response from daemon: invalid mount config for type "volume": invalid mount path: '/vscode'.
See 'docker run --help'.

Steps to Reproduce:

  1. Use a windows docker image (e.g. mcr.microsoft.com/windows/servercore)
  2. Open the dev container. The generated docker run command will use an invalid mount point for the VSCode folder. I couldn't find a way to customize this mount point, like I had to do for the workspaceMount in order to replace /workspace with C:\workspace.

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes

@github-actions github-actions bot added the containers Issue in vscode-remote containers label May 27, 2021
@alexkirsz
Copy link
Author

Windows containers aren't supported #445

@bamurtaugh
Copy link
Member

Hi @alexkirsz, as you mention, Windows containers aren't currently supported. I'm going to close this issue in favor of #445. If I've missed/misunderstood any part of your issue, please just let me know. Thank you!

@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers
Projects
None yet
Development

No branches or pull requests

2 participants