Because I need to use docker to get a redis cluster, I went to install it.
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.
[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.
sudo yum -y install docker-ce docker-ce-cli --allowerasing
Come again if you fail
curl -sSL https://get.daocloud.io/docker | sh
If you want to use the previous Alibaba Cloud, you can change it
docker version
See if the installation is successful
Start docker
systemctl start docker
Everything is so natural
Recommended Posts