yum安装Docker
一、安装
1、配置yum源
# vim /etc/yum.repos.d/docker.repo
[docker]
name=Docker
baseurl=https://yum.dockerproject.org/repo/main/centos/7/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
2、通过yum安装
# yum install docker-engine
# systemctl start docker
# systemctl status docker
#docker info
#docker version