Friday, June 15, 2018

How to Install Docker on RedHat Enterprise Linux 7.5 - Install docker on Linux RHEL -

Find steps for installing Docker 18.03.1 Community Edition on RHEL 7.5:

yum install -y yum-utils

sudo yum install wget

wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

sudo rpm -ivh epel-release-latest-7.noarch.rpm

sudo yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.55-1.el7.noarch.rpm


Setup Docker community repository on RedHat

sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

Install Docker CE

sudo yum install -y docker-ce

Start Docker daemon

sudo systemctl restart docker

No comments:

Post a Comment