• CentOS7安装特定版本的Docker


    查询可用版本

    [root@bogon ~]# yum list docker-ce --showduplicates | sort -r

    查询结果

     * updates: centos.ustc.edu.cn
    Loading mirror speeds from cached hostfile
    Loaded plugins: fastestmirror, langpacks
     * extras: centos.ustc.edu.cn
    docker-ce.x86_64            18.03.0.ce-1.el7.centos             docker-ce-stable
    docker-ce.x86_64            17.12.1.ce-1.el7.centos             docker-ce-stable
    docker-ce.x86_64            17.12.0.ce-1.el7.centos             docker-ce-stable
    docker-ce.x86_64            17.09.1.ce-1.el7.centos             docker-ce-stable
    docker-ce.x86_64            17.09.0.ce-1.el7.centos             docker-ce-stable
    docker-ce.x86_64            17.06.2.ce-1.el7.centos             docker-ce-stable
    docker-ce.x86_64            17.06.1.ce-1.el7.centos             docker-ce-stable
    docker-ce.x86_64            17.06.0.ce-1.el7.centos             docker-ce-stable
    docker-ce.x86_64            17.03.2.ce-1.el7.centos             docker-ce-stable
    docker-ce.x86_64            17.03.1.ce-1.el7.centos             docker-ce-stable
    docker-ce.x86_64            17.03.0.ce-1.el7.centos             docker-ce-stable      

    安装指定版本

    [root@bogon ~]# sudo yum install docker-ce-17.12.0.ce-1.el7.centos

    安装结果

    Total                                                                                                       369 kB/s |  30 MB  00:01:24     
    Retrieving key from https://download-stage.docker.com/linux/centos/gpg
    Importing GPG key 0x621E9F35:
     Userid     : "Docker Release (CE rpm) <docker@docker.com>"
     Fingerprint: 060a 61c5 1b55 8a7f 742b 77aa c52f eb6b 621e 9f35
     From       : https://download-stage.docker.com/linux/centos/gpg
    Is this ok [y/N]: y
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : 2:container-selinux-2.42-1.gitad8f0f7.el7.noarch                                                                         1/2 
      Installing : docker-ce-17.12.0.ce-1.el7.centos.x86_64                                                                                 2/2 
      Verifying  : 2:container-selinux-2.42-1.gitad8f0f7.el7.noarch                                                                         1/2 
      Verifying  : docker-ce-17.12.0.ce-1.el7.centos.x86_64                                                                                 2/2 
    
    Installed:
      docker-ce.x86_64 0:17.12.0.ce-1.el7.centos                                                                                                
    
    Dependency Installed:
      container-selinux.noarch 2:2.42-1.gitad8f0f7.el7                                                                                          
    
    Complete!
    [root@bogon ~]# 
  • 相关阅读:
    封装微信小程序
    请求formdata格式
    基于vue的前端框架
    es6 入门
    测试缓存时间问题console.time
    export 与 export default, 以及import引用
    vue emit 实现非父子之间的值传递
    css3 弹性盒子display:flex
    iview $modal 的封装
    render iview tab select的添加和input的添加
  • 原文地址:https://www.cnblogs.com/liuxiutianxia/p/8857141.html
Copyright © 2020-2023  润新知