centos8安装docker

基础教程

centos8安装docker

2023-02-14 05:31







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