Last active
May 9, 2018 22:14
-
-
Save albertorm95/fd3283f88f079d0a4893603076d3dfc4 to your computer and use it in GitHub Desktop.
Install Docker Community Edition on RHEL Server.
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
sudo -s | |
yum install -y yum-utils device-mapper-persistent-data lvm2 | |
yum-config-manager -y --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
yum install -y --setopt=obsoletes=0 docker-ce-17.03.1.ce-1.el7.centos docker-ce-selinux-17.03.1.ce-1.el7.centos | |
#set notify_only=1 to 0 | |
nano /etc/yum/pluginconf.d/search-disabled-repos.conf | |
yum update -y docker-engine | |
service docker start | |
sudo yum install -y yum-utils | |
sudo wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
sudo rpm -ivh epel-release-latest-7.noarch.rpm | |
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
sudo yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.33-1.git86f33cd.el7.noarch.rpm | |
sudo yum install -y docker-ce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment