Is a docker machine required for Linux?

I am running a Windows7 (64-bit) machine with vmplayer that hosts Fedora 25 .

I installed docker CE on it, and my examples still worked fine.

The problem is trying to run docker-machine examples. In my understanding, you need to create hosts for dockers.

  • Although it makes sense to have it on Windows and Mac , but do I need it on Linux ?

  • What else adds to the confusion, why all the examples I've tried so far have worked perfectly?

  • Another thing is if docker-machine not part of the docker Linux ; then how do we create multiple docker nodes on Linux ?

+5
source share
1 answer

A docker machine is a tool that simplifies the work of a docking station on virtual machines, but is not required in any environment if you want to manage a virtual machine yourself. Since docker runs initially on Linux, there is no need for a docker machine to complete this installation, you just install dockers directly. This is what most people with a Linux host do.

If for some reason you need several docker hosts on Linux, you can create and manage your own virtual machines, for example. virtual boxing and stroller, or you can use the docker machine as the front end on that, which also processes the image of the machine, and provides a convenient command line to switch the docker CLI between environments.

+5
source

All Articles