mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-09 05:01:33 -05:00
Updated Docker Install for CentOS 8 and CentOS Stream
This commit is contained in:
parent
e33f723382
commit
e31c6d79e4
16
install.sh
16
install.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user