5 ms·
I just wish Windows has built-in Docker so that i don't need to install anything like wsl,... Make docker run on bare-metal Windows is a huge improvement to my
by revskill 6y ago
I just wish Windows has built-in Docker so that i don't need to install anything like wsl,... Make docker run on bare-metal Windows is a huge improvement to my life !
Why? WSL or VM is stupid because it costs around 5-6GB of RAM without doing anything.
- jjmarinho 6y agoWSL is not even close to 5-6GB of RAM. My current instance of Ubuntu 20.04 is hogging around 1200MB while running rust-analyzer and some other devtools.
- coolspot 6y agoJust install WSL standalone edition. It runs on bare metal with no virtualization. Also GUI is much better and no tracking!
- revskill 6y agoThanks for the info. Could you give me more info on the link ? As i tried, wsl need a VM to run.
- bityard 6y agoWell, Docker is a Linux technology. If you really need Docker that badly and can't take the overhead of a VM, then it sounds like you would be better off just running Linux like the rest of us. :)
- revskill 6y agoAha, i think so. But i need to spend some times with Windows softwares, too ;)
- mav3rick 6y agoThere is a container runtime / API to abstract this. Pretty sure Windows has equivalents of namespaces and cgroups.
- initplus 6y agoThe docker tools themselves ARE cross platform, but 99% of docker images in the wild are based off Linux, and have ELF binaries inside. Windows does not have equivalents for every single Linux system call. This is why you need WSL. You can build an image based on a Windows base image, and run it natively in Windows.
- pjmlp 6y agoWhich makes sense, containers aren't virtual machines.
- hda111 6y agoI’m sure it has. Containerd will get Windows support soon. So we will have a Full Open Source Container Engine on Windows. (Remember Docker Desktop is closed source).
- pjmlp 6y agoWindows has containers, no need to use WSL.