Forked from trajakovic/docker_1.13_manual_install_centos.sh
Last active
September 7, 2020 09:50
-
-
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)
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://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