1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 18:41:32 -05:00

Updated Docker Install for CentOS 8 and CentOS Stream

This commit is contained in:
HeyJack 2020-12-08 21:01:52 +00:00
parent e33f723382
commit e31c6d79e4

View File

@ -1435,12 +1435,8 @@ install_wings() {
yum -y install curl tar unzip yum -y install curl tar unzip
fi fi
if [[ ( "$lsb_dist" = "centos" || "$lsb_dist" = "rhel" ) && "$dist_version" = "8" ]]; then output "Installing Docker"
curl -sSL https://raw.githubusercontent.com/tommytran732/CentOS-8-Docker-Script/master/get-docker.sh | sudo bash curl -sSL https://get.docker.com/ | CHANNEL=stable bash
else
output "Installing Docker"
curl -sSL https://get.docker.com/ | CHANNEL=stable bash
fi
service docker start service docker start
systemctl enable docker systemctl enable docker
@ -1483,12 +1479,8 @@ install_daemon() {
yum -y install curl tar unzip yum -y install curl tar unzip
fi fi
if [[ ( "$lsb_dist" = "centos" || "$lsb_dist" = "rhel" ) && "$dist_version" = "8" ]]; then output "Installing Docker"
curl -sSL https://raw.githubusercontent.com/tommytran732/CentOS-8-Docker-Script/master/get-docker.sh | sudo bash curl -sSL https://get.docker.com/ | CHANNEL=stable bash
else
output "Installing Docker"
curl -sSL https://get.docker.com/ | CHANNEL=stable bash
fi
service docker start service docker start
systemctl enable docker systemctl enable docker