VSCode on Windows 10 + Docker: Wrong build path #51

rebornix opened this Issue Jan 2, 2017 · 5 comments


None yet

3 participants

rebornix commented Jan 2, 2017

From @max06 on January 1, 2017 13:29

  • VSCode Version: 1.8.1 (stable)
  • OS Version: Windows 10 Build 14393

Steps to Reproduce:

  1. Install Docker for Windows
  2. Install VSCode
  3. Add Docker extension
  4. Create an empty Folder (eg MicroServiceTemplate) and open it in VSCode
  5. Generate a Dockerfile from the command palette with default settings
  6. Run Docker: Build from the command palette

Here the questions are already filled with the wrong values, like selecting the Dockerfile, it shows e\Dockerfile

The Build fails then with C:\Users\max06\OneDrive\Dokumente\Develop\MicroServiceTemplate>docker build -f e\Dockerfile -t e:latest e unable to prepare context: unable to evaluate symlinks in context path: GetFileAttributesEx C:\Users\max06\On eDrive\Dokumente\Develop\MicroServiceTemplate\e: Das System kann die angegebene Da tei nicht finden.

When I try to build it manually with correct parameters, it works.

Copied from original issue: Microsoft/vscode#17986

rebornix commented Jan 2, 2017

From @max06 on January 1, 2017 16:27

I could reproduce the problem on a second windows machine, but not on an ubuntu system.

rebornix commented Jan 2, 2017

@max06 I think we can start investigation from the docker extension.

max06 commented Jan 2, 2017

@rebornix Thank you for moving this to the right place!

@chrisdias chrisdias self-assigned this Jan 2, 2017
@chrisdias chrisdias added a commit that closed this issue Jan 3, 2017
@chrisdias chrisdias fixes #51 db6eaaa
@chrisdias chrisdias closed this in db6eaaa Jan 3, 2017
max06 commented Jan 4, 2017

@chrisdias on my machine I still only get version 0.0.10 - when will there be a new version available?

@chrisdias chrisdias referenced this issue Jan 4, 2017

Chrisdias/51v2 #53


@max06 0.0.11 has been pushed to the marketplace. thanks for the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment