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

  • Mastering Docker Enterprise
  • Mark Panthofer
  • 370字
  • 2021-07-02 12:30:11

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
主站蜘蛛池模板: 阿尔山市| 乌兰察布市| 丹凤县| 如皋市| 高青县| 平远县| 白玉县| 杭锦后旗| 惠来县| 米泉市| 桐城市| 连州市| 新建县| 乐业县| 荥阳市| 巢湖市| 黑山县| 平泉县| 大厂| 高陵县| 天镇县| 安多县| 寻乌县| 时尚| 安平县| 湖南省| 德安县| 洛浦县| 汶川县| 扬州市| 七台河市| 绥德县| 靖宇县| 石棉县| 鹤壁市| 拉萨市| 淮滨县| 库伦旗| 布拖县| 巨鹿县| 定南县|