Using Docker inside WSL 2 has been painful for years, that's nice to see that things are getting better.
Install Docker in WSL 2 Without Docker Desktop
11–20 of 25 posts
Re: Install Docker in WSL 2 Without Docker Desktop
#12Re: Install Docker in WSL 2 Without Docker Desktop
#13Nice, I'll take a look. This has been my go-to reference up 'til now https://dev.to/bowmanjd/install-docker-on-windows-wsl-withou...
Thanks. I had looked at that reference originally too but it does a lot of things unrelated to running Docker on WSL 2 and overcomplicates running Docker. Realistically getting Docker to run on WSL 2 involves running a few standard install steps from Docker for installing Docker and Docker Compose v2 on Linux (such as Ubuntu, Debian or whatever distro you prefer) and then adding a 3 line shell script to your ~/.profi…
Re: Install Docker in WSL 2 Without Docker Desktop
#14Re: Install Docker in WSL 2 Without Docker Desktop
#15Earlier quoted context omitted.
That's the important question really. If it still requires a vm, then there is almost no difference between methods.
Where I really need docker, I also need VMware workstation more. It’s been a limiting factor for me. Was asking to ensure this wasn’t some trickery but sounds promising. I already have WSL working just didn’t think to try docker in that layer!
Re: Install Docker in WSL 2 Without Docker Desktop
#16I was under the impression that docker installed in windows would manage system resources better than inside a wsl commissioner. I use lando, a docker compose wrapper. It’s instructions say to install docker inside wsl, but also warns of stability issues.
Last I checked, Docker desktop in windows requires a license for commercial users, whereas this method doesn't.
the Docker daemon and Docker CLI are open source and are free, even on Windows.
Re: Install Docker in WSL 2 Without Docker Desktop
#17Re: Install Docker in WSL 2 Without Docker Desktop
#18TALK SLOWER
Re: Install Docker in WSL 2 Without Docker Desktop
#19Either way, while I'm more than happy with Docker Desktop (my circumstances allow me to use it at no expense), there are also some promising projects out there that some of you might be interested in, provided that you want something more than just the CLI.
Podman Desktop: https://podman-desktop.io/
Rancher Desktop: https://rancherdesktop.io/