小菜鸟
分类: LINUX
2016-06-14 10:23:27
Install with yum
Log into your machine as a user with sudo or root privileges.
Make sure your existing yum packages are up-to-date.
$ sudo yum update
Add the yum repo.
$ sudo tee /etc/yum.repos.d/docker.repo <<-'EOF'
[dockerrepo]
name=Docker Repository
baseurl=
enabled=1
gpgcheck=1
gpgkey=
EOF
Install the Docker package.
$ sudo yum install docker-engine
Start the Docker daemon.
$ sudo service docker start