Centos7安装Docker

  分类:技术   评论:无  浏览: 576次

依次执行:

sudo yum remove docker \
                  docker-common \
                  docker-selinux \
                  docker-engine
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-config-manager --enable docker-ce-edge

sudo yum-config-manager --enable docker-ce-test
sudo yum install docker-ce
sudo systemctl start docker
点击这里给我发消息
嘿!有什么可以帮助你吗?