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
The following commands are executed in sequence
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:
- CentOS8 Failed to start docker.service: Unit docker.service not found [How to Solve]
- [Solved] Docker Install Error: repodata/repomd.xml: [Errno 14] HTTPS Error 404 – Not Found Trying other mirror.
- How to Solve docker run Error: oci runtime error
- [Solved] Docker Install Error: failure: repodata/repomd.xml from mirrors.aliyun.com_docker-ce_linux_centos_docker-ce.pro
- [Solved] docker: Error response from daemon: could not select device driver “” with capabilities: [[gpu]].
- How to Enable EPEL Repository for CentOS 7.x/6.x/5.x
- How to Solve Error during connect when installing docker in Windows 10
- This system is not registered with an entitlement server. You can use subscription-manager to reg…