DEV Community

Discussion on: Install Docker on Windows (WSL) without Docker Desktop

Collapse
 
matez profile image
matez

Hi Jonathan, thanks for your article.

Did you manage to get VSCode + Remote Containers working?

I assigned the path of docker.bat to the remote extension but it it fails building the devcontainer with error message: "unable to prepare context: path "d:foobar.devcontainer" not found.
I guess there is something wrong with the translation of windows full path to wsl path.

If I execute the docker build command outside of VSCode with relative paths, the container is build successfully.

Collapse
 
matez profile image
matez

anwering to myself: yes it works, but the files, which should be opened inside the devcontainer must already lie in WSL space. Also see github.com/microsoft/vscode-remote...