[Centos8] The bumpy process of installing docker

Because I need to use docker to get a redis cluster, I went to install it.

Important steps##

Try the water first

Then found out that this is not possible.

yum install docker, some people say so, but it doesn't work.


Some people say: curl -fsSL https://get.docker.com | bush -s docker – mirror Aliyun

Still reporting an error.


But victory is in sight,
Don't be angry at this time, don't be discouraged, cross this hurdle.


first step##

[Problem solving] package docker-ce-3:19.03.11-3.el7.x86_64 requires containerd.io greater than or equal to 1.2.2-3 but none of...
problem causes:
There is no containerd.io in the yum library of centos8 that conforms to the latest version of docker-ce. docker-ce-3:19.03.11-3.el7.x86_64 requires containerd.io >= 1.2.2-3

solution:

Install the latest docker through Alibaba Cloud image library-ce version of containerd.io
yum install -y https://mirrors.aliyun.com/docker-ce/linux/centos/7/x86_64/edge/Packages/containerd.io-1.2.13-3.2.el7.x86_64.rpm


sudo yum -y install docker-ce docker-ce-cli

Are you scared?

It's useless to be afraid, it will fail or fail.

Step two##

sudo yum -y install docker-ce docker-ce-cli --allowerasing

Come again if you fail


third step##

curl -sSL https://get.daocloud.io/docker | sh

If you want to use the previous Alibaba Cloud, you can change it

the fourth step##

docker version

See if the installation is successful


the fifth step##

Start docker

systemctl start docker


Everything is so natural

Recommended Posts

[Centos8] The bumpy process of installing docker
CentOS environment installation of Docker
The process of solving the problem of installing ImageMagick under Ubuntu system
Centos install the latest version of cmake
Centos 8.1.1911 solves the problem of yum reinstallation
The fourth installment of Zabbix under CentOs7
Summarize the knowledge points of Centos7 system reinforcement
Do you know the CentOS system startup process?
Solve the problem of installing VMwareTools on Ubuntu 18.04
Solve the problem that Centos8 cannot install docker
Docker installation (CentOS7 installation)
Centos7 install Docker
Do you know the CentOS system startup process?
Centos7 install docker18
centos7 install docker
CentOS 6 install Docker
Centos8 install Docker
The latest method of installing Mongodb on Ubuntu 16.04
Explain the implementation of Centos8 static IP configuration
Detailed tutorial of installing nginx on centos8 (graphic)
Modify the default encoding of mysql5.6 under CentOS7
Solve the problem of installing Theano on Ubuntu19
Centos7 adjusts the size of the root directory mount partition
Solve the problem of python compiling and installing ssl
Detailed explanation of the attribute access process of Python objects
CentOS system startup process
CentOS 8.0 installs docker error
Graphical installation of CentOS8
CentOS 8-dnf install docker
install Docker on centos6.5
Docker CentOS installation method
CentOS 7 install Docker CE
Centos system process management
Centos7 docker installation details
The problem of MySQL import file failure in CentOS environment
Tutorial diagram of installing CentOS 8 (1905) system on VMware virtual machine
Detailed method of installing Kernel 5.x kernel version on CentOS 8 system
Encountered in the process of building a virtual environment in ubuntu
Introduction to CentOS7 installation process of openjdk, tomcat and mysql
How to solve the problem of not being able to access the Internet after installing centos7 on VmWare