The reason for this problem is the podman in CentOS 8. Podman is a docker like software preinstalled in CentOS 8, so you don’t need to uninstall it directly
solution:
dnf remove podman
Then reinstall docker
sudo yum install -y yum-utils device-mapper-persistent-data lvm2 sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo yum install -y docker-ce docker-ce-cli containerd.io
Set startup and self startup
sudo systemctl enable docker
Oh!
Similar Posts:
- [Solved] Centos8 Install Docker Error: Error: Unable to find a match: docker
- How to Solve docker run Error: oci runtime error
- [Solved] Docker Install Error: repodata/repomd.xml: [Errno 14] HTTPS Error 404 – Not Found Trying other mirror.
- [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]].
- Ubuntu20.04 server Error: Failed to restart docker.service: Unit docker.service not found
- Docker ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? [How to Solve]
- [Solved] Error in docker pull down image“ https://registry-1.docker.io/v2/ : Net / http: TLS handle timeout “how to handle?