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

Windows / WSL / minikube: run without docker for windows? #1043

Closed
remoe opened this issue Jul 27, 2019 · 2 comments
Closed

Windows / WSL / minikube: run without docker for windows? #1043

remoe opened this issue Jul 27, 2019 · 2 comments

Comments

@remoe
Copy link

remoe commented Jul 27, 2019

Why does this extension need docker for windows on windows to work? It should only need a docker client, DOCKER_HOST and DOCKER_CERT_PATH environment, right? Or is it already possible to work with a minikube/WSL environment?

@Chuxel Chuxel transferred this issue from microsoft/vscode-dev-containers Jul 27, 2019
@Chuxel
Copy link
Member

Chuxel commented Jul 27, 2019

@remoe The extension uses the Docker CLto wire up and communicate with the container. To make things easy when you just want to open a local folder in a container, we also "bind" mount the local filesystem by default. Docker doesn't allow binding remote filesystems (which would result in really poor performance if they did). However, you can tweak devcontainer.json or your Docker Compose file to work with remote hosts. Technically the Docker daemon / service does not need to be local - just the latest version of the CLI for docker and docker-compose (if you use it).

See here: https://code.visualstudio.com/docs/remote/containers-advanced#_developing-inside-a-container-on-a-remote-docker-host

For native Kubernetes support (using kubectl w/o docker), you can upvote here: #12.

Docker's plans for Docker for Windows is to switch to WSL2, so that will cover WSL support over time. They're just not there yet.

@remoe
Copy link
Author

remoe commented Jul 27, 2019

Thanks for the detailed explanation.

@remoe remoe closed this as completed Jul 27, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 10, 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

2 participants