标签:
今天开始了解Docker,CentOS7,yum方式安装Docker
docker$ sudo yum update
添加源
$ cat >/etc/yum.repos.d/docker.repo <<-EOF
[docker_repo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7 enabled=1 gpgcheck=1 gpgkey=https://yum.dockerproject.org/gpg EOF
sudo yum install docker-engine
sudo service docker start
sudo docker run hello-world
标签:
原文地址:http://blog.csdn.net/wonder4/article/details/50935708