Step 1: Download VMware, here I downloaded the Windows version

www.vmware.com/products/wo…

Activation code: ZF3R0-FHED2-M80TY-8QYGC-NPKYf

This is also obtained by my search, if it cannot be used, please Google or Baidu, installation details will not be described, the next step is the next step

Step 2: Install Linux centos 7 or 8

Before the installation, you need to have a Linux centos7 or 8 system file. The screenshot shown here is for Centos 8, and the same for Centos 7

Download from the Linux official website:www.linux.org/pages/downl…

After downloading the image, you can install the system with VMware

Step 3 install the Linux operating system. The following uses centos8 as an example

Of course, what file path, name, password, etc., need to be set separately

The system interface of Centos8 is as follows, instead of all previous commands

Step 4: After the centos system is installed, deploy the Docker

Centos 8 Deploy the Docker

# installation depend on yum install - y yum - utils device - mapper - persistent - data lvm2 yum install - y The curl https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm # add yum warehouse -o/etc/yum. Repos. D/docker - ce. 'https://download.docker.com/linux/centos/docker-ce.repo # installation docker - ce yum - y install Docker -ce # systemctl start docker # systemctl start dockerCopy the code

Centos 7 Docker is deployed

Install centos-7-x86_64-DVD-2009. iso on the VM, check IP command IP addr

This requires modifying the nic configuration

vi /etc/sysconfig/network-scripts/ifcfg-eno16777736

Change ONBOOT=no to ONBOOT=yes, save the Settings and exit

Reset the network

systemctl restart network

This helps you view the server IP address

The command for deploying centos daoker is the same as the command for deploying centos 8, which is omitted here

Step 5: Configure Docker acceleration

# enter directory

cd  /etc/docker/

# Edit file

vi daemon.json

Add content is: {” registry – mirrors “: [” zhwwb76h.mirror.aliyuncs.com” \]}

Save and exit after adding

Restart docker