Skip to content

Instantly share code, notes, and snippets.

@mansurali901
Created June 27, 2019 11:20
Show Gist options
  • Save mansurali901/5a80d1e1182d5f02ff12905b2398fac7 to your computer and use it in GitHub Desktop.
Save mansurali901/5a80d1e1182d5f02ff12905b2398fac7 to your computer and use it in GitHub Desktop.
yum install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum makecache fast
yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.99-1.el7_6.noarch.rpm
yum install docker-ce
systemctl status docker.service && systemctl enable docker.service && systemctl start docker.service && systemctl status docker.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment