注意Centos7.4系统以下需要升级内核,否则会安装失败

 yum install -y yum-utils device-mapper-persistent-data lvm2
 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
 yum makecache fast
 rpm --import https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
 yum -y install docker-ce
 systemctl enable docker
 systemctl restart docker

  

相关文章:

  • 2021-06-22
  • 2021-08-20
  • 2021-09-24
  • 2022-12-23
  • 2021-08-03
  • 2021-11-01
  • 2022-01-03
  • 2021-12-13
猜你喜欢
  • 2022-01-12
  • 2021-06-29
  • 2021-07-27
  • 2022-02-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案