„install.sh“ ändern
This commit is contained in:
parent
848725967d
commit
ca688a977a
20
install.sh
20
install.sh
@ -33,23 +33,11 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install Docker
|
|
||||||
echo "Installing Docker..."
|
|
||||||
$PACKAGE_MANAGER update
|
|
||||||
$PACKAGE_MANAGER install -y docker
|
|
||||||
|
|
||||||
# Start Docker
|
# Install Docker
|
||||||
echo "Starting Docker..."
|
read -p "Do you want to install Docker? (y/n) " INSTALL_DOCKER
|
||||||
systemctl start docker
|
if [ "$INSTALL_DOCKER" == "y" ]; then
|
||||||
|
echo "Installing Docker ..."
|
||||||
# Enable Docker to start at boot
|
|
||||||
echo "Enabling Docker at boot..."
|
|
||||||
systemctl enable docker
|
|
||||||
|
|
||||||
# Install Docker Compose
|
|
||||||
read -p "Do you want to install Docker Compose? (y/n) " INSTALL_COMPOSE
|
|
||||||
if [ "$INSTALL_COMPOSE" == "y" ]; then
|
|
||||||
echo "Installing Docker Compose..."
|
|
||||||
if [ "$PACKAGE_MANAGER" == "apt-get" ] then
|
if [ "$PACKAGE_MANAGER" == "apt-get" ] 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)"
|
||||||
elif [ "$PACKAGE_MANAGER" == "apt-get-ubuntu" ]; then
|
elif [ "$PACKAGE_MANAGER" == "apt-get-ubuntu" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user