官术网_书友最值得收藏!

Installing the Docker Enterprise Engine on all nodes

With your license key and Docker storebits URL saved on your local machine, it is time to install the Docker Enterprise Engine on all of your nodes. For this section, we will be using an Ubuntu distribution of Linux and a Windows 2016 server as a second worker node. So, all together we have a four-node cluster.

In an attempt to keep this information up to date and streamlined, there is a GitHub repository page for the commands in this section. It can be found here:  https://github.com/PacktPublishing/Mastering-Docker-Enterprise.

Start by creating SSH sessions into each of your Linux nodes and an RDP session into your Windows worker. Now, you are ready to begin the engine install process. Please note the bash install commands will vary slightly on different flavors of Linux and will be completely different on Windows 2016, where we use PowerShell. 

We will begin with the Linux nodes, where we will use the package manager and the official Docker repository for installing our software. Once the Docker Engines are installed, all of the other Docker Enterprise software runs in containers and will come from Docker's container registry.

Please follow these instructions carefully! Don't use the default repository from your Linux distribution to install the Docker Engine! Doing so usually results in an old or forked (sometimes called FrankenDocker) version of the community edition. Also, the following instructions assume you are using a fresh software OS install on your nodes. If that's not the case, please make sure that you remove the old versions of Docker before proceeding.

I'll demonstrate how to get started, using VS code. First, we open a couple of files using the menu bar File | Open to open two empty files. In the first file, save your connection information (public/private IPs) to your cloud servers and in the second file, just a scratch pad to store your Docker storebits URL and a place to paste commands from this chapter's accompanying repository page: https://github.com/NVISIA/MasteringDockerEE/blob/master/PoC/install/Install-EE-Engine-notes.md. Then, open some SSH Terminal sessions—one for each node. Now you are ready to install:

Figure 4: One Month Docker Enterprise Trial
主站蜘蛛池模板: 綦江县| 奉新县| 肇源县| 彭州市| 锦州市| 铜陵市| 定西市| 丹阳市| 日土县| 乐清市| 且末县| 彭州市| 通州区| 锡林郭勒盟| 西安市| 定日县| 金川县| 合作市| 龙门县| 桑植县| 宁远县| 九台市| 江都市| 五台县| 临西县| 昌黎县| 大丰市| 皋兰县| 冷水江市| 乐业县| 六枝特区| 新宁县| 兴和县| 通渭县| 讷河市| 琼结县| 黄山市| 云阳县| 平湖市| 丽江市| 辽宁省|