CentOS8 Stream安装Docker
1.添加Docker储存仓库配置的前提
dnf -y install yum-utils
2.配置Docker仓库
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
3.安装Docker
dnf -y install docker-ce docker-ce-cli containerd.io
这时可能报错依赖问题如:
podman-3:4.6.1-4.module_el8+664+4072b3ae.x86_64 from @System requires runc >= 1.0.0-57, but none of the providers can be installed.
卸载并重新进行步骤即可
yum -y erase podman buildah containerd.io