docker virtualization platform to build

 docker virtualization platform to build

From the 1.13 version of the software is divided into even docker versions: Enterprise, Community Edition, version recommended in the enterprise community.

Construction of docker platform environment, the system selects centos7.x, recommended linux kernel 3.10

docker platform installation is as follows:

  1. Install third-party epel-relase extended source

    [root@localhost ~]# yum install epel-release -y
  2. Installation docker Package

    [root@localhost ~]# yum install docker -y
  3. Check whether the package docker deployment

    [root@localhost ~]# yum list docker
    已加载插件:fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
     * base: mirrors.aliyun.com
     * epel: mirrors.tuna.tsinghua.edu.cn
     * extras: mirrors.aliyun.com
     * updates: mirrors.aliyun.com
    已安装的软件包
    docker.x86_64                 2:1.13.1-103.git7f2769b.el7.centos            
    [root@localhost ~]# rpm -qa |grep docker 
    docker-client-1.13.1-103.git7f2769b.el7.centos.x86_64
    docker-1.13.1-103.git7f2769b.el7.centos.x86_64
    docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
  4. Start docker Service

    systemctl start docker.service
  5. View docker version information, as long as that client and server information, it shows docker start properly.

    [root@localhost ~]# docker version
    Client:
     Version:         1.13.1
     API version:     1.26
     Package version: docker-1.13.1-103.git7f2769b.el7.centos.x86_64
     Go version:      go1.10.3
     Git commit:      7f2769b/1.13.1
     Built:           Sun Sep 15 14:06:47 2019
     OS/Arch:         linux/amd64
    
    Server:
     Version:         1.13.1
     API version:     1.26 (minimum version 1.12)
     Package version: docker-1.13.1-103.git7f2769b.el7.centos.x86_64
     Go version:      go1.10.3
     Git commit:      7f2769b/1.13.1
     Built:           Sun Sep 15 14:06:47 2019
     OS/Arch:         linux/amd64
     Experimental:    false

Guess you like

Origin www.cnblogs.com/linux123/p/11735967.html