What’s the best way to install Docker on Windows—Docker Desktop or Docker Engine in WSL?

0
7
Asked By CuriousCoder93 On

Hey there! I'm in the process of installing Docker on my Windows machine. I've already set up WSL, but now I'm torn between using Docker Desktop or Docker Engine directly within WSL. I'd like to know which option would be better in terms of RAM consumption, storage requirements, and speed. I've read there might be some manual setup involved with Docker Engine in WSL. Any clarity on this would be greatly appreciated! Thanks!

3 Answers

Answered By LinuxLover88 On

Honestly, if you can, try switching to a full Linux distro like Debian or Ubuntu for running Docker. It generally uses RAM and CPU more efficiently. But if that’s not possible right now, stick with Docker Desktop.

Answered By TechSavvySam On

If you're sticking with Windows, I'd recommend going for Docker Desktop. It integrates seamlessly with WSL2 and takes care of most of the networking for you. Plus, even though it might seem like it uses more resources due to the UI, the differences are quite small since both options run on WSL2. You can even adjust the resource limits in the settings if RAM usage is a concern.

Answered By WSLWizard On

I switched to Docker installed directly in WSL, and it's been working flawlessly for me, especially when I run Portainer for the UI side of things.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.