1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 02:21:33 -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
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