[Solved] Centos8 Install Docker Error: Error: Unable to find a match: docker

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

Similar Posts: