devpod
devpod copied to clipboard
Support local projects inside WSL with Docker provider
Is your feature request related to a problem?
To work with existing local projects inside WSL with Docker.
More exactly, to work with following setup:
- Windows host with WSL2 enabled
- Docker engine based on WSL, and Docker binary and endpoint are exposed to WSL distros
- Local projects are located inside one or more WSL distros
- IDE is installed on host
Which solution do you suggest?
If specified local path points to inside of WSL, detect the existence of Docker endpoint and rebuild path to local form.
Which alternative solutions exist?
Install Devpod inside WSL and config multi-hop SSH might work. Never tried.
Additional context
Most Docker solutions for Windows use WSL as their backend.
It's already known that accessing files on Windows from WSL has very poor performance, and VScode recommends cloning projects directly into WSL if possible.
You may also consider refactoring the file picker to natively support projects located on any remote side. It would be useful if the code is not allowed to leave the remote environment and is too large to clone every time.