add apt update and fix docker name.
This commit is contained in:
parent
6a4efb959c
commit
6bfb445b93
|
@ -81,6 +81,9 @@ if ! [ "$(id -u)" = 0 ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
# Check update
|
||||
apt-get update -q2
|
||||
|
||||
# Test RAM size (4GB min) + CPUs (min 2)
|
||||
#Check system resources
|
||||
printf "\n\nVerifying System Resources:"
|
||||
|
@ -160,7 +163,7 @@ else
|
|||
fi
|
||||
sleep .1
|
||||
# Check & install docker
|
||||
install_if_not docker
|
||||
install_if_not docker.io
|
||||
install_if_not docker-compose
|
||||
|
||||
sysctl -w vm.max_map_count="$max_map_count"
|
||||
|
|
Loading…
Reference in New Issue