zoukankan      html  css  js  c++  java
  • 本地yum源安装docker

    [root@rancher ~]# yum install docker-ce.x86_64
    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
    Resolving Dependencies
    --> Running transaction check
    ---> Package docker-ce.x86_64 0:18.03.0.ce-1.el7.centos will be installed
    --> Processing Dependency: container-selinux >= 2.9 for package: docker-ce-18.03.0.ce-1.el7.centos.x86_64
    --> Processing Dependency: pigz for package: docker-ce-18.03.0.ce-1.el7.centos.x86_64
    --> Processing Dependency: libcgroup for package: docker-ce-18.03.0.ce-1.el7.centos.x86_64
    --> Running transaction check
    ---> Package container-selinux.noarch 2:2.42-1.gitad8f0f7.el7 will be installed
    --> Processing Dependency: policycoreutils-python for package: 2:container-selinux-2.42-1.gitad8f0f7.el7.noarch
    ---> Package libcgroup.x86_64 0:0.41-13.el7 will be installed
    ---> Package pigz.x86_64 0:2.1.6-1.el6.rf will be installed
    --> Running transaction check
    ---> Package policycoreutils-python.x86_64 0:2.5-17.1.el7 will be installed
    --> Processing Dependency: setools-libs >= 3.3.8-1 for package: policycoreutils-python-2.5-17.1.el7.x86_64
    --> Processing Dependency: libsemanage-python >= 2.5-5 for package: policycoreutils-python-2.5-17.1.el7.x86_64
    --> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-17.1.el7.x86_64
    --> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-17.1.el7.x86_64
    --> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-17.1.el7.x86_64
    --> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-17.1.el7.x86_64
    --> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-17.1.el7.x86_64
    --> Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-17.1.el7.x86_64
    --> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-17.1.el7.x86_64
    --> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-17.1.el7.x86_64
    --> Running transaction check
    ---> Package audit-libs-python.x86_64 0:2.7.6-3.el7 will be installed
    ---> Package checkpolicy.x86_64 0:2.5-4.el7 will be installed
    ---> Package libsemanage-python.x86_64 0:2.5-8.el7 will be installed
    ---> Package python-IPy.noarch 0:0.75-6.el7 will be installed
    ---> Package setools-libs.x86_64 0:3.3.8-1.1.el7 will be installed
    --> Finished Dependency Resolution
    Dependencies Resolved
    =======================================================================================================
     Package                        Arch           Version                            Repository      Size
    =======================================================================================================
    Installing:
     docker-ce                      x86_64         18.03.0.ce-1.el7.centos            docker          35 M
    Installing for dependencies:
     audit-libs-python              x86_64         2.7.6-3.el7                        docker          73 k
     checkpolicy                    x86_64         2.5-4.el7                          docker         290 k
     container-selinux              noarch         2:2.42-1.gitad8f0f7.el7            docker          32 k
     libcgroup                      x86_64         0.41-13.el7                        docker          65 k
     libsemanage-python             x86_64         2.5-8.el7                          docker         104 k
     pigz                           x86_64         2.1.6-1.el6.rf                     docker          39 k
     policycoreutils-python         x86_64         2.5-17.1.el7                       docker         446 k
     python-IPy                     noarch         0.75-6.el7                         docker          32 k
     setools-libs                   x86_64         3.3.8-1.1.el7                      docker         612 k
    Transaction Summary
    =======================================================================================================
    Install  1 Package (+9 Dependent packages)
    Total download size: 36 M
    Installed size: 156 M
    Is this ok [y/d/N]: y
    Downloading packages:
    (1/10): audit-libs-python-2.7.6-3.el7.x86_64.rpm                                |  73 kB  00:00:00     
    (2/10): container-selinux-2.42-1.gitad8f0f7.el7.noarch.rpm                      |  32 kB  00:00:00     
    (3/10): checkpolicy-2.5-4.el7.x86_64.rpm                                        | 290 kB  00:00:00     
    (4/10): libcgroup-0.41-13.el7.x86_64.rpm                                        |  65 kB  00:00:00     
    (5/10): docker-ce-18.03.0.ce-1.el7.centos.x86_64.rpm                            |  35 MB  00:00:00     
    (6/10): libsemanage-python-2.5-8.el7.x86_64.rpm                                 | 104 kB  00:00:00     
    (7/10): pigz-2.1.6-1.el6.rf.x86_64.rpm                                          |  39 kB  00:00:00     
    (8/10): policycoreutils-python-2.5-17.1.el7.x86_64.rpm                          | 446 kB  00:00:00     
    (9/10): python-IPy-0.75-6.el7.noarch.rpm                                        |  32 kB  00:00:00     
    (10/10): setools-libs-3.3.8-1.1.el7.x86_64.rpm                                  | 612 kB  00:00:00     
    -------------------------------------------------------------------------------------------------------
    Total                                                                   77 MB/s |  36 MB  00:00:00     
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : libcgroup-0.41-13.el7.x86_64                                                       1/10 
      Installing : setools-libs-3.3.8-1.1.el7.x86_64                                                  2/10 
      Installing : checkpolicy-2.5-4.el7.x86_64                                                       3/10 
      Installing : pigz-2.1.6-1.el6.rf.x86_64                                                         4/10 
      Installing : python-IPy-0.75-6.el7.noarch                                                       5/10 
      Installing : audit-libs-python-2.7.6-3.el7.x86_64                                               6/10 
      Installing : libsemanage-python-2.5-8.el7.x86_64                                                7/10 
      Installing : policycoreutils-python-2.5-17.1.el7.x86_64                                         8/10 
      Installing : 2:container-selinux-2.42-1.gitad8f0f7.el7.noarch                                   9/10 
    setsebool:  SELinux is disabled.
      Installing : docker-ce-18.03.0.ce-1.el7.centos.x86_64                                          10/10 
      Verifying  : 2:container-selinux-2.42-1.gitad8f0f7.el7.noarch                                   1/10 
      Verifying  : libsemanage-python-2.5-8.el7.x86_64                                                2/10 
      Verifying  : audit-libs-python-2.7.6-3.el7.x86_64                                               3/10 
      Verifying  : docker-ce-18.03.0.ce-1.el7.centos.x86_64                                           4/10 
      Verifying  : python-IPy-0.75-6.el7.noarch                                                       5/10 
      Verifying  : policycoreutils-python-2.5-17.1.el7.x86_64                                         6/10 
      Verifying  : libcgroup-0.41-13.el7.x86_64                                                       7/10 
      Verifying  : pigz-2.1.6-1.el6.rf.x86_64                                                         8/10 
      Verifying  : checkpolicy-2.5-4.el7.x86_64                                                       9/10 
      Verifying  : setools-libs-3.3.8-1.1.el7.x86_64                                                 10/10 
    Installed:
      docker-ce.x86_64 0:18.03.0.ce-1.el7.centos                                                           
    Dependency Installed:
      audit-libs-python.x86_64 0:2.7.6-3.el7                      checkpolicy.x86_64 0:2.5-4.el7           
      container-selinux.noarch 2:2.42-1.gitad8f0f7.el7            libcgroup.x86_64 0:0.41-13.el7           
      libsemanage-python.x86_64 0:2.5-8.el7                       pigz.x86_64 0:2.1.6-1.el6.rf             
      policycoreutils-python.x86_64 0:2.5-17.1.el7                python-IPy.noarch 0:0.75-6.el7           
      setools-libs.x86_64 0:3.3.8-1.1.el7                        
    Complete!
    [root@rancher ~]# 
  • 相关阅读:
    bzoj1066【SCOI2007】蜥蜴
    ZOJ 2588 Burning Bridges(无向连通图求割边)
    javascript模拟类的最佳实践
    Java接口源码--System和应用程序进程间通信
    uestc 94(区间更新)
    HDU 4667 Building Fence(求凸包的周长)
    系统视图,系统表,系统存储过程的使用
    iOS学习9_事件分发&响应链
    热门游戏<开心消消乐>的“加壳”诡计!!
    【SICP练习】152 练习4.8
  • 原文地址:https://www.cnblogs.com/liweiming/p/8794634.html
Copyright © 2011-2022 走看看