centos8安装docker

ADMIN 2021-01-20 11:49:03 835 次浏览 0条评论

QQ反馈群:1065433015

curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo
yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm
dnf -y  install docker-ce  docker-ce-cli --nobest
systemctl start docker
systemctl enable --now docker