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 #17986

Closed
max06 opened this issue Jan 1, 2017 · 3 comments
Closed

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

max06 opened this issue Jan 1, 2017 · 3 comments
Labels
*caused-by-extension Issue identified to be caused by an extension

Comments

@max06
Copy link
Contributor

max06 commented Jan 1, 2017

  • 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.

@max06
Copy link
Contributor Author

max06 commented Jan 1, 2017

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

@rebornix
Copy link
Member

rebornix commented Jan 2, 2017

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

@rebornix
Copy link
Member

rebornix commented Jan 2, 2017

This issue was moved to microsoft/vscode-docker#51

@rebornix rebornix closed this as completed Jan 2, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension
Projects
None yet
Development

No branches or pull requests

2 participants