add apt update and fix docker name.

This commit is contained in:
Luis Guzmán 2023-11-29 03:08:33 -06:00
parent 6a4efb959c
commit 6bfb445b93
1 changed files with 4 additions and 1 deletions

View File

@ -81,6 +81,9 @@ if ! [ "$(id -u)" = 0 ]; then
exit 0 exit 0
fi fi
# Check update
apt-get update -q2
# Test RAM size (4GB min) + CPUs (min 2) # Test RAM size (4GB min) + CPUs (min 2)
#Check system resources #Check system resources
printf "\n\nVerifying System Resources:" printf "\n\nVerifying System Resources:"
@ -160,7 +163,7 @@ else
fi fi
sleep .1 sleep .1
# Check & install docker # Check & install docker
install_if_not docker install_if_not docker.io
install_if_not docker-compose install_if_not docker-compose
sysctl -w vm.max_map_count="$max_map_count" sysctl -w vm.max_map_count="$max_map_count"