Skip to content

Instantly share code, notes, and snippets.

@trajakovic
Created March 28, 2017 09:07
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save trajakovic/d49a0ba48a546b0744c8dc9999bd3f83 to your computer and use it in GitHub Desktop.
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)
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
Copy link

abessifi commented May 4, 2018

As you installed docker from rpm archives, there's no risk to miss/break packages dependencies ?

@trajakovic
Copy link
Author

@abessifi this is really old script, but you could actually miss it, since rpm depends on something it doesn't contains

@liiri
Copy link

liiri commented Mar 4, 2020

yum.dockerproject.org seems to be down
but following mirror works:
https://mirrors.aliyun.com/docker-engine/yum/repo/main/centos/7/Packages/

@trajakovic
Copy link
Author

@liiri well this gist is over 3years old...it's miracle event that somebody really needs docker 1.13 ^^

@liiri
Copy link

liiri commented Mar 4, 2020

@trajakovic yeah well, Enterprise :(

@trajakovic
Copy link
Author

@liiri /cry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment