Actualiser install/docker.sh

Ajout du mode a pour le service needrestart afin de ne pas avoir la fenêtre de validation
This commit is contained in:
guillaume 2023-12-11 11:19:11 +01:00
parent c666b5feb9
commit 6d4068de38

View File

@ -103,7 +103,7 @@ echo -e "${GREEN}Updating package list with Docker repository${RESET}"
echo -e "${CYAN}Step 3: Install Docker${RESET}"
echo -e "Installing Docker and related packages"
sleep 2
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin > .temp.log
sudo NEEDRESTART_MODE=a apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin > .temp.log
clear
echo -e "${docker}"