3 ms·
Don't use Windows filesystem not even Docker for Desktop from within WSL2 instance. Install Docker within WSL2 instance itself (like regular linux). WSL1 suppos
by mmgutz 4y ago
Don't use Windows filesystem not even Docker for Desktop from within WSL2 instance. Install Docker within WSL2 instance itself (like regular linux). WSL1 supposedly gives better performance when accessing Windows file system.
I remove all Windows auto mounts and use only VS Code remote sessions and not VS Code WSL2 sessions.
WSL2 is more than fast enough. See phoronix site (well respected linux benchmarker).
[1] https://www.phoronix.com/review/windows11-wsl2-good https://www.phoronix.com/review/windows11-wsl2-good
- CoolCold 4y agowhat I'm loosing not doing so? I'm running Docker not even every week, but when do it works
- mech422 4y agoI do this as well. Just install vanilla docker from docker.org Works really well. I just have to manually start the docker service (no systemd in WSL2) or dig out the MS command for running services on startup.
- forrest2 4y agoHaven't used yet but systemd flag added a month ago: https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/ https://devblogs.microsoft.com/commandline/systemd-support-i...
- CoolCold 4y agoyep, it's there. Seems to be bit unstable, I've noticed glitches couple of times, but still, great step forward!