Skip to content

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

@rebornix

Description

@rebornix

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions