Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ognjenm/14435a9eccf174b3e408e646cbc88273 to your computer and use it in GitHub Desktop.
Save ognjenm/14435a9eccf174b3e408e646cbc88273 to your computer and use it in GitHub Desktop.
Docker 1.13 manual installation on CentOS7 for Openshfit Origin 1.5.0.rc0 (since latest docker version is 17.03, oc cluster up is not happy with version)
yum install wget
wget https://mirrors.aliyun.com/docker-engine/yum/repo/main/centos/7/docker-engine-1.13.1-1.el7.centos.x86_64.rpm
wget https://mirrors.aliyun.com/docker-engine/yum/repo/main/centos/7/Packages/docker-engine-selinux-1.13.1-1.el7.centos.noarch.rpm
#package for docker-engine-selinux
yum install -y policycoreutils-python
rpm -i docker-engine-selinux-1.13.1-1.el7.centos.noarch.rpm
#package for docker-engine
yum install -y libtool-ltdl libseccomp
rpm -i docker-engine-1.13.1-1.el7.centos.x86_64.rpm
#remove rpm packages
rm docker-engine-* -f
#enable systemd service
systemctl enable docker
#start docker
systemctl start docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment