„install.sh“ ändern
This commit is contained in:
parent
7a242cc586
commit
7816955d7f
@ -25,14 +25,12 @@ fi
|
|||||||
echo "Installing Docker..."
|
echo "Installing Docker..."
|
||||||
if [ "$DISTRO" = "debian" ] || [ "$DISTRO" = "ubuntu" ]; then
|
if [ "$DISTRO" = "debian" ] || [ "$DISTRO" = "ubuntu" ]; then
|
||||||
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/debian.sh)"
|
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/debian.sh)"
|
||||||
|
systemctl start docker
|
||||||
elif [ "$DISTRO" = "redhat" ]; then
|
elif [ "$DISTRO" = "redhat" ]; then
|
||||||
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/centos.sh)"
|
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/centos.sh)"
|
||||||
|
systemctl start docker
|
||||||
elif [ "$DISTRO" = "alpine" ]; then
|
elif [ "$DISTRO" = "alpine" ]; then
|
||||||
sh -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/alpine.sh)"
|
sh -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/alpine.sh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Start Docker
|
echo "Docker and Docker Compose installation completed."
|
||||||
echo "Starting Docker..."
|
|
||||||
systemctl start docker
|
|
||||||
|
|
||||||
echo "Docker and Docker Compose installation completed."
|
|
Loading…
Reference in New Issue
Block a user