DEV Community

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

Collapse
 
haosmos profile image
haosmos • Edited

Thank you very much for the detailed instructions!
Let me ask you some questions.

  • Did I understand correctly that installing docker directly into wsl is not supposed to get any benefits or improvements, but just a way to avoid installing a heavy docker desktop application in windows that consumes a lot of RAM?

  • The Ubuntu development team recently announced the implementation of systemd support in Ubuntu 22.04 - bugs.launchpad.net/ubuntu/+source/....

Some enthusiasts have already tried this and it seems to work: github.com/microsoft/WSL/issues/51...

The developers of Fedora Remix for WSL also announced a new version of the distribution with systemd support a couple of weeks ago — whitewaterfoundry.com/blog/2022/4/...

Can you tell me, please, if activating this feature (wsl-systemd) - will it require changes to this tutorial of yours?

And in general, will it change anything in the way docker was used in wsl before? Would it be a game changer?

Collapse
 
bowmanjd profile image
Jonathan Bowman

You are correct. In my opinion, installing Docker this way is appealing for its lightweight and flexible (pick-your-distro) approach. It is also a good learning experience!

Thanks for the links about Ubuntu and systemd! What this will change: the startup script can be replaced with a simple systemd enable docker