vscode-docker on Windows 10: Wrong build path for subfolder

Created on 5 Sep 2018  ·  6Comments  ·  Source: microsoft/vscode-docker

  • VSCode Version: 1.26.1 (stable)
  • VSCode-docker Version: 0.1.0
  • OS Version: Windows 10 Build 16299.551

Steps to Reproduce:

  1. Install Docker for Windows
  2. Install VSCode
  3. Add Docker extension
  4. Create an empty Folder (eg Test) with two subfolders (eg client and server) and open it in VSCode
  5. Generate a Dockerfile on each of the subfolders (client & server)
  6. Run Docker: Build from the command palette

image

The Build fails then with docker build --rm -f client\Dockerfile -t test client
unable to prepare context: unable to evaluate symlinks in Dockerfile path:
GetFileAttributesEx D:\projects\test\clientDockerfile: The system cannot find the file specified.

Works when build manually with correct parameters.

bug

All 6 comments

Thanks for using the extension!
We have made changes to the build-image UX, ready for release in 0.2.0. Currently, this is how it looks in my repro:
image
This seems fixed for 0.2.0, which we plan to release soon. If this does not solve your problem, feel free to let us know.

However, investigating this has shown us a couple other issues - thanks for reporting this! :)

@PrashanthCorp The UI was not the issue, the build step was. But I believe that was fixed, correct?

Yes. It looks fixed right now. Shall I close this?

Is there a time frame for the 0.2.0 release?

Probably tomorrow.

@Szauka We just released 0.2.0. Please let us know if this does not fix your issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oberfoerster picture oberfoerster  ·  6Comments

Justpro77 picture Justpro77  ·  3Comments

Kludex picture Kludex  ·  7Comments

yusufkaratoprak picture yusufkaratoprak  ·  4Comments

SQLvariant picture SQLvariant  ·  3Comments