加拿大快乐8开奖记录 www.owtsy.tw [[email protected] ~]# yum remove docker

[[email protected] ~]# yum remove docker-selinux

 

[[email protected] yum.repos.d]# vi  /etc/yum.repos.d/docker.repo

 

[dockerrepo]

name=Docker Repository

baseurl=https://yum.dockerproject.org/repo/main/centos/$releasever/

enabled=1

gpgcheck=1

gpgkey=https://yum.dockerproject.org/gpg

 

[[email protected] yum.repos.d]# yum install docker-engine

 

已安装:

  docker-engine.x86_64 0:1.10.2-1.el7.centos                                    

 

作为依赖被安装:

  docker-engine-selinux.noarch 0:1.10.2-1.el7.centos   

 

[[email protected] ~]# service docker start

Redirecting to /bin/systemctl start  docker.service

[[email protected] ~]# docker images

REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE

 

[[email protected] yum.repos.d]# docker version

Client:

 Version:      1.10.2

 API version:  1.22

 Go version:   go1.5.3

 Git commit:   c3959b1

 Built:        Mon Feb 22 16:16:33 2016

 OS/Arch:      linux/amd64

 

Server:

 Version:      1.10.2

 API version:  1.22

 Go version:   go1.5.3

 Git commit:   c3959b1

 Built:        Mon Feb 22 16:16:33 2016

 OS/Arch:      linux/amd64

[[email protected] yum.repos.d]#