Because the use of docker will be involved in the following chapters, this section briefly introduces how to install the docker environment in Centos.
For more information about docker, please visit the official website of docker.
If you do not deploy the tars environment with docker, ignore this step
This article only introduces the installation of docker environment in CentOS
Install Docker in Centos:
sudo su
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install -y docker-ce
systemctl start docker
systemctl enable docker
After installation, check the docker version: