This article only provides ideas! This article only provides ideas! This article only provides ideas!
Important thing to say three times! If it's just that you're not satisfied please don't look down!
For a specific version of the issue, the search through the official website document and issue on GitHub, there is always no good answer, and the product developers do not know why not always provide a positive approach, perhaps to promote the new version,
But is this really good? Docker swarm requires a unified Docker version, Docker-machine only provides the latest version of the upgrade shortcut, and the default installation is the newest version,
Assuming that our online environment 20 nodes have been a version of a, after one months Docker released the B version, and we want to add 10 online nodes, do we go to upgrade it all over again?
I still can't figure out why Docker-machine is so its users, who can tell me?
----------------------------------------------------Split Line-------------------------body starts------------------------------------- --
We can specify the installation script at the time of installation:
Observe this default Web site (https://get.docker.com actually has a https://test.docker.com, which is always the latest version), is a shell script,
Through the analysis, we can get the change of the pkg_version variable to the version number we need, we will achieve the desired effect,
The next thing to do is to copy the shell, according to our conclusion, change it, put a server on top, and then specify this address for the address of the shell that installs Docker when using Docker-machine create.
Docker-machine the idea of Docker-ce to build a version of the node installation