Add line-by-line debug and docs for docker.sh.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-12-23 10:48:51 -06:00
parent 59e5107f74
commit fefe0e6f43
No known key found for this signature in database
GPG Key ID: 9FC8B9E008872109
1 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,7 @@
# shellcheck disable=SC2145,SC2178,SC2120,SC2162
set -e
set -x
# Functions to manage .env files
__dotenv=
@ -312,11 +313,13 @@ install-docker() {
echo "You must log out or restart to apply necessary Docker permissions changes."
echo "Restart, then continue installing using this script."
exit
exit 1
fi
}
install-docker-compose() {
echo "Installing Docker Compose..."
curl -fsSL -o docker-compose https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-linux-$(uname -m)
ARCHITECTURE=amd64
@ -338,6 +341,8 @@ install-docker-compose() {
mv ./docker-compose /usr/libexec/docker/cli-plugins/docker-compose
mv ./docker-compose-switch /usr/local/bin/docker-compose
fi
echo "Docker Compose updated!"
}
run-installer() {