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

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
主站蜘蛛池模板: 巧家县| 土默特右旗| 新田县| 泾阳县| 新野县| 闻喜县| 芜湖县| 黎川县| 太保市| 高清| 东辽县| 怀集县| 武汉市| 博湖县| 连平县| 清苑县| 昭通市| 克什克腾旗| 沐川县| 会同县| 班戈县| 南充市| 昌乐县| 嘉鱼县| 新津县| 黄冈市| 都匀市| 观塘区| 木兰县| 游戏| 祁连县| 维西| 海原县| 中宁县| 武乡县| 华宁县| 凌云县| 从化市| 丹棱县| 怀仁县| 井冈山市|