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

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

Closed
rebornix opened this issue Jan 2, 2017 · 5 comments
Closed

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

rebornix opened this issue Jan 2, 2017 · 5 comments
Assignees

Comments

@rebornix
Copy link
Member

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
Copy link
Member Author

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
Copy link
Member Author

rebornix commented Jan 2, 2017

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

@max06
Copy link

max06 commented Jan 2, 2017

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

@chrisdias chrisdias self-assigned this Jan 2, 2017
chrisdias added a commit that referenced this issue Jan 3, 2017
@max06
Copy link

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 mentioned this issue Jan 4, 2017
@chrisdias
Copy link
Member

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

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants