1、安装依赖包

yum install -y yum-utils device-mapper-persistent-data lvm2

2、安装yum库

yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo

3、安装dokcer

yum install docker-ce -y


4、启动dokcer

开启镜像加速

curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://bc437cce.m.daocloud.io
启动dokcer
systemctl start docker
systemctl enable docker


 
                    
            
                

相关文章:

  • 2022-12-23
  • 2022-01-17
  • 2021-05-11
  • 2021-11-08
  • 2022-12-23
  • 2021-09-14
  • 2021-10-06
  • 2022-02-24
猜你喜欢
  • 2021-06-26
  • 2021-09-02
  • 2021-11-14
  • 2021-10-13
  • 2021-11-07
  • 2021-06-20
  • 2021-07-25
相关资源
相似解决方案