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

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
主站蜘蛛池模板: 闽侯县| 三亚市| 海伦市| 甘谷县| 嘉义县| 张掖市| 衡阳市| 莱芜市| 肥乡县| 德保县| 广德县| 盐亭县| 巫溪县| 绥芬河市| 阿勒泰市| 闽侯县| 兴宁市| 张家川| 云安县| 察雅县| 长乐市| 常德市| 泽库县| 法库县| 治县。| 富川| 吐鲁番市| 莲花县| 平果县| 拜城县| 彰化市| 黄龙县| 体育| 永年县| 赤城县| 海兴县| 中阳县| 响水县| 浮山县| 宁都县| 巴东县|