Centos8 install docker error: Error: Unable to find a match: docker

created at 11-16-2021 views: 61


1. First update: yum -y update

2. Centos8 uses podman instead of docker by default, so containerd.io is needed, then we just install it

yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm

The following commands are executed in sequence

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
created at:11-16-2021
edited at: 11-16-2021: