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

VS Code try to mount .gitconfig dir and error when use Dockerfile #776

Closed
shishi opened this issue Jun 23, 2019 · 2 comments
Closed

VS Code try to mount .gitconfig dir and error when use Dockerfile #776

shishi opened this issue Jun 23, 2019 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@shishi
Copy link

shishi commented Jun 23, 2019

  • VSCode Version: 1.35.1
  • Local OS Version: Windows 10 1903
  • Remote OS Version: golang:1
  • Remote Extension/Connection Type: Docker

Steps to Reproduce:

  1. Put .gitconfig file in home directory
  2. Make empty directory
  3. Open that directory with "Open Folder in Container..." and select Go which is prepared.

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 except remote development extensions.

Failed: Starting the development container
Command failed: C:\Program Files\Docker\Docker\Resources\bin\docker.exe run -a STDOUT -a STDERR --mount type=bind,source=c:\working\hoge,target=/workspaces/hoge -v /host_mnt/c/Users/shishi/.gitconfig:/root/.gitconfig -l vsch.quality=stable -l vsch.local.folder=c:\working\hoge -l vsch.remote.devPort=0 --cap-add=SYS_PTRACE --security-opt seccomp=unconfined vsc-hoge-048b1d910ea70a0935ec782664b5da46 /bin/sh -c echo Container started ;  while sleep 1; do :; done

If I put .gitconfig file in home, occur above error.
If I don't put .gitconfig, VS Code makes .gitconfig directory and mount.
If already put .gitconfig directory, VS Code mount that directory.

This behavior doesn't allow to use my .gitconfig file and make a strange directory.

@chrmarti
Copy link
Contributor

/duplicate #509

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Jun 24, 2019
@vscodebot
Copy link

vscodebot bot commented Jun 24, 2019

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Jun 24, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants