install docker

摘要: 我的环境是:CentOS-7-x86_64-Minimal-1511.iso , 也可参考docker官网文档,来安装, url : https://docs.docker.com/engine/installation/linux/centos/

1.安装步骤:

1.1 vi /etc/yum.repos.d/docker.repo 
输入:
    [dockerrepo]
    name=Docker Repository
    baseurl=https://yum.dockerproject.org/repo/main/centos/7
    enabled=1
    gpgcheck=1
    gpgkey=https://yum.dockerproject.org/gpg
      
1.1 reboot ,重启系统

1.3 yum install docker ,安装docker

1.4 systemctl start docker.service, 启动

1.5 ps aux | grep docker , docker info

posted @ 2016-12-17 20:47  Thomas_188  阅读(156)  评论(0编辑  收藏  举报