zoukankan      html  css  js  c++  java
  • centos7.6在线yum安装docker-ce

    概述:

      利用阿里的mirrror的docker-ce仓库,在线安装docker-ce

    部署环境:

    CentOS Linux release 7.6.1810 (Core)

    01、添加docker-ce yum源

    https://mirrors.aliyun.com/docker-ce/

    https://yq.aliyun.com/articles/110806     //阿里社区对docker-ce不同平台部署的操作步骤

    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仓库源

    02、查看当前可以安装docker-ce版本

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

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

    yum install -y docker-ce-18.06.3.ce-3.el7

    03、启动测试

    systemctl start docker

    docker info

    docker version

  • 相关阅读:
    Python从文件中读取数据
    Python中类的继承
    Python中的类(2)
    Python中的类
    自动登陆抽屉(1)
    爬取汽车之家新闻
    Django简介
    web应用,http协议简介,web框架
    CentOS7安装python3.6
    MySQL之索引
  • 原文地址:https://www.cnblogs.com/xiaochina/p/11518007.html
Copyright © 2011-2022 走看看