3 ms·
I was surprised to find out that Docker now installs as a VM by default even on Linux, unless you choose to install the Docker Engine manually. https://docs.do
by fathyb 4y ago
I was surprised to find out that Docker now installs as a VM by default even on Linux, unless you choose to install the Docker Engine manually.
https://docs.docker.com/get-docker/ https://docs.docker.com/get-docker/
- jakogut 4y agoInteresting, that's also news to me. I wonder what the purpose for that is? I suppose it's possible to control the kernel version and cgroup configuration more easily that way, but I imagine networking and filesystem access becomes more complicated.
- shandor 4y agoThey go into the details quite nicely in their documentation [1]. A more cynical take would be to wonder if it has anything to do with their steps trying to monetize Docker Desktop. This move puts the same stack in use with Linux, maybe giving them monetization on Linux as well. (Not that there’s anything wrong with that. You can still use the Docker Engine freely on Linux if you want. ) [1] https://docs.docker.com/desktop/faqs/linuxfaqs/#why-does-docker-desktop-for-linux-run-a-vm https://docs.docker.com/desktop/faqs/linuxfaqs/#why-does-doc...
- efrecon 4y agoThis is Docker Desktop. They have an official explanation for it: https://docs.docker.com/desktop/faqs/linuxfaqs/#why-does-docker-desktop-for-linux-run-a-vm https://docs.docker.com/desktop/faqs/linuxfaqs/#why-does-doc.... You can still install the docker engine directly if you want.
- politelemon 4y agoNo that's not correct. Docker runs on Linux. Docker _Desktop_ is an indirection tool, a glorified network stitcher, that runs VMs to make it appear like you are running Docker on other systems (Win/Mac). Docker _Desktop_ installs a VM by default, likely in a bid for consistency across platforms. On Linux you should not be installing Docker Desktop, only Docker Engine.