mirror of
https://github.com/ShaYmez/hblink3-docker-install.git
synced 2025-12-22 21:49:50 +13:00
Update hblink3-docker-install.sh
Debian 9 not supported!
This commit is contained in:
parent
ceca54d874
commit
97ca89c850
@ -71,14 +71,7 @@ sleep 2
|
||||
echo "------------------------------------------------------------------------------"
|
||||
echo "Downloading and installing Docker....."
|
||||
echo "------------------------------------------------------------------------------"
|
||||
if [ $VERSION = 9 ];
|
||||
then
|
||||
curl -sSL https://get.docker.com | sh
|
||||
apt-get install -y docker-compose
|
||||
systemctl enable docker
|
||||
systemctl start docker
|
||||
echo Set userland-proxy to false...
|
||||
echo '{ "userland-proxy": false}' > /etc/docker/daemon.json
|
||||
|
||||
elif [ $VERSION = 10 ];
|
||||
then
|
||||
curl -sSL https://get.docker.com | sh
|
||||
@ -95,6 +88,11 @@ sleep 2
|
||||
systemctl start docker
|
||||
echo Set userland-proxy to false...
|
||||
echo '{ "userland-proxy": false}' > /etc/docker/daemon.json
|
||||
else
|
||||
echo "-------------------------------------------------------------------------------------------"
|
||||
echo "Operating system not supported! Please check your configuration or upgrade. Exiting....."
|
||||
echo "-------------------------------------------------------------------------------------------"
|
||||
exit 0
|
||||
fi
|
||||
echo "Done."
|
||||
echo "------------------------------------------------------------------------------"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user