Created
March 28, 2017 09:07
-
-
Save trajakovic/d49a0ba48a546b0744c8dc9999bd3f83 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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install wget | |
wget https://yum.dockerproject.org/repo/main/centos/7/Packages/docker-engine-1.13.1-1.el7.centos.x86_64.rpm | |
wget https://yum.dockerproject.org/repo/main/centos/7/Packages/docker-engine-selinux-1.13.1-1.el7.centos.noarch.rpm | |
#nice site with pckgs: https://pkgs.org/ | |
#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 |
@abessifi this is really old script, but you could actually miss it, since rpm depends on something it doesn't contains
yum.dockerproject.org seems to be down
but following mirror works:
https://mirrors.aliyun.com/docker-engine/yum/repo/main/centos/7/Packages/
@liiri well this gist is over 3years old...it's miracle event that somebody really needs docker 1.13 ^^
@trajakovic yeah well, Enterprise :(
@liiri /cry
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As you installed docker from rpm archives, there's no risk to miss/break packages dependencies ?