Forked from trajakovic/docker_1.13_manual_install_centos.sh
Created
January 16, 2020 13:25
-
-
Save alex-egorov/71903a671e5dbaba98317f27078e9e29 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 hidden or 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment