yum install -y yum-utils   //扩展yum功能

yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo     //添加软件源信息

yum makecache fast   //自动选择最快yum仓库源

 

yum list docker-ce --showduplicates | sort -r

 

 yum -y install docker-ce-[VERSION]    //安装指定版本的格式 ,注意3:xxx 请移除3:

相关文章:

  • 2019-07-12
  • 2021-07-20
  • 2021-08-19
  • 2021-11-13
  • 2021-06-07
  • 2022-02-19
  • 2021-07-11
  • 2021-07-13
猜你喜欢
  • 2022-01-17
  • 2022-02-04
  • 2022-12-23
  • 2021-12-05
  • 2021-12-21
  • 2019-07-03
相关资源
相似解决方案