Docker-machine the idea of Docker-ce to build a version of the node installation

Source: Internet
Author: User
Tags docker swarm

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.