From e31c6d79e42edbd05ea1991944fabe7f14b47a8f Mon Sep 17 00:00:00 2001 From: HeyJack Date: Tue, 8 Dec 2020 21:01:52 +0000 Subject: [PATCH] Updated Docker Install for CentOS 8 and CentOS Stream --- install.sh | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/install.sh b/install.sh index dc721c2..598e8b7 100644 --- a/install.sh +++ b/install.sh @@ -1435,12 +1435,8 @@ install_wings() { yum -y install curl tar unzip fi - if [[ ( "$lsb_dist" = "centos" || "$lsb_dist" = "rhel" ) && "$dist_version" = "8" ]]; then - curl -sSL https://raw.githubusercontent.com/tommytran732/CentOS-8-Docker-Script/master/get-docker.sh | sudo bash - else - output "Installing Docker" - curl -sSL https://get.docker.com/ | CHANNEL=stable bash - fi + output "Installing Docker" + curl -sSL https://get.docker.com/ | CHANNEL=stable bash service docker start systemctl enable docker @@ -1483,12 +1479,8 @@ install_daemon() { yum -y install curl tar unzip fi - if [[ ( "$lsb_dist" = "centos" || "$lsb_dist" = "rhel" ) && "$dist_version" = "8" ]]; then - curl -sSL https://raw.githubusercontent.com/tommytran732/CentOS-8-Docker-Script/master/get-docker.sh | sudo bash - else - output "Installing Docker" - curl -sSL https://get.docker.com/ | CHANNEL=stable bash - fi + output "Installing Docker" + curl -sSL https://get.docker.com/ | CHANNEL=stable bash service docker start systemctl enable docker