Skip to content

Instantly share code, notes, and snippets.

@dungmanh88
Last active September 30, 2016 04:19
Show Gist options
  • Save dungmanh88/dc2be4340af438d1d541e90f6fb68bbe to your computer and use it in GitHub Desktop.
Save dungmanh88/dc2be4340af438d1d541e90f6fb68bbe to your computer and use it in GitHub Desktop.
Install docker-engine 1.11.2
sudo tee /etc/yum.repos.d/docker.repo <<-'EOF'
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
yum -y update && yum -y install docker-engine-1.11.2 && systemctl start docker && docker run hello-world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment