Compare commits

...

2 Commits

Author SHA1 Message Date
fabian
d3d0a4cc5d updated command to docker compose 2.0 2024-09-01 14:47:17 +02:00
fabian
ae2779f48e fix npe-like-error 2024-09-01 14:46:44 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ backupRootDirectory /etc/docker/daemon.json $BACKUP_DIR_ROOT/docker/
### upload backup ###
#####################
if [[ "$1" == "--noupload" ]]; then
if [[ $# > 0 && "$1" == "--noupload" ]]; then
exit 0;
fi

View File

@ -16,7 +16,7 @@ upDownContainers() {
continue;
fi
cd $subdir;
docker-compose $@;
docker compose $@;
done
}