• CentOS6.5 64位下装Docker


    试装,仅仅是做个记录。

    [root@localhost ~]# sudo tee /etc/yum.repos.d/docker.repo <<-'EOF'
    > ;
    > [dockerrepo]
    > name=Docker Repository
    > baseurl=https://yum.dockerproject.org/repo/main/centos/$releasever/
    > enable=1
    > gpgcheck=1
    > gpgkey=https://yum.dockerproject.org/gpg
    > EOF
    ;
    [dockerrepo]
    name=Docker Repository
    baseurl=https://yum.dockerproject.org/repo/main/centos/$releasever/
    enable=1
    gpgcheck=1
    gpgkey=https://yum.dockerproject.org/gpg
    [root@localhost ~]# sudo yum install -y docker-engine
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Setting up Install Process
    Loading mirror speeds from cached hostfile
     * base: mirrors.tuna.tsinghua.edu.cn
     * extras: mirrors.njupt.edu.cn
     * updates: mirrors.tuna.tsinghua.edu.cn
    dockerrepo                                               | 2.9 kB     00:00     
    dockerrepo/primary_db                                    | 3.3 kB     00:00     
    Resolving Dependencies
    --> Running transaction check
    ---> Package docker-engine.x86_64 0:1.7.1-1.el6 will be installed
    --> Processing Dependency: libcgroup for package: docker-engine-1.7.1-1.el6.x86_64
    --> Running transaction check
    ---> Package libcgroup.x86_64 0:0.40.rc1-27.el6_10 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
     Package            Arch        Version                   Repository       Size
    ================================================================================
    Installing:
     docker-engine      x86_64      1.7.1-1.el6               dockerrepo      4.5 M
    Installing for dependencies:
     libcgroup          x86_64      0.40.rc1-27.el6_10        updates         131 k
    
    Transaction Summary
    ================================================================================
    Install       2 Package(s)
    
    Total download size: 4.7 M
    Installed size: 20 M
    Downloading Packages:
    (1/2): docker-engine-1.7.1-1.el6.x86_64.rpm              | 4.5 MB     00:04     
    (2/2): libcgroup-0.40.rc1-27.el6_10.x86_64.rpm           | 131 kB     00:00     
    --------------------------------------------------------------------------------
    Total                                           931 kB/s | 4.7 MB     00:05     
    warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 2c52609d: NOKEY
    Retrieving key from https://yum.dockerproject.org/gpg
    Importing GPG key 0x2C52609D:
     Userid: "Docker Release Tool (releasedocker) <docker@docker.com>"
     From  : https://yum.dockerproject.org/gpg
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing : libcgroup-0.40.rc1-27.el6_10.x86_64                          1/2 
      Installing : docker-engine-1.7.1-1.el6.x86_64                             2/2 
      Verifying  : docker-engine-1.7.1-1.el6.x86_64                             1/2 
      Verifying  : libcgroup-0.40.rc1-27.el6_10.x86_64                          2/2 
    
    Installed:
      docker-engine.x86_64 0:1.7.1-1.el6                                            
    
    Dependency Installed:
      libcgroup.x86_64 0:0.40.rc1-27.el6_10                                         
    
    Complete!
    [root@localhost ~]# 
    
    [root@localhost ~]# docker -v
    Docker version 1.7.1, build 786b29d

    --END-- 2019年9月28日17:45:27

  • 相关阅读:
    数据库设计模式
    PostGreSQL数据库的导入导出
    [webGIS开发]为什么要把空间数据发布成地图服务,不能直接访问空间数据库呢?
    PostGIS三维对象
    数据库之触发器
    飞鸽内网穿透
    Ubuntu服务器上Anaconda新建虚拟环境(激活和取消)以及安装各个依赖包
    Ubuntu服务器上Anaconda新建虚拟环境(激活和取消)以及安装各个依赖包
    你还不会用python画蛋糕???
    在线追番软件
  • 原文地址:https://www.cnblogs.com/heyang78/p/11604096.html
Copyright © 2020-2023  润新知