I have gone through the documentation of Docker Desktop for Linux

I have Windows Machine on which I have installed VMWare Workstation on which I have installed Ubuntu. I have installed Docker Desktop for linux on Ubuntu.

Now since I am new I got information from community itself that docker-machine is replaced by Docker Desktop.
But since I had gone through the videos and KB for docker-machine and as I migrate to Docker Desktop I am confused as to how VMs are created by Docker Desktop.

There are videos / KB for Docker Desktop Windows but for linux there are not much with detailed explanation comparing how docker-machine and docker desktop works same way.

Please advise!

They don’t work in the same way. Docker Desktop only takes care of the utility vm it uses to run the docker backend. As in exactly one! You can not bootstrap multiple docker vms.

Maybe vagrant + self-made base images with either docker preinstalled, or provisioned with bash scripts or something like Ansible might be closer to cover what docker-machine does. But it means you will either have to create your own custom solution, or find something on github that already implements what you need. The whole approach of docker-machine is outdated, as infrastructure as code started to dominate infrastructure provisioning, which is sometimes combined with configuration management tool to deploy the target applications and configurations on that infrastructure.

Like I already wrote in the other topic. Docker machine is deprecated. It is not supported anymore. Personally, I would not invest time in a solution that is deprecated.

1 Like