- added new docker command for all containers

- corrected param parsing
This commit is contained in:
fabian 2023-05-01 17:28:10 +02:00
parent b5f66ebcb8
commit b114c139b1
2 changed files with 9 additions and 2 deletions

View File

@ -6,7 +6,7 @@ upDownContainers() {
docker_root=~/docker; docker_root=~/docker;
while [[ $# > 0 ]]; do while [[ $# > 0 ]]; do
case $1 in case $1 in
-d | --dir) docker_root=$2; shift 2;; --dir) docker_root=$2; shift 2;;
* ) break ;; # Anything else stops command line processing. * ) break ;; # Anything else stops command line processing.
esac esac
done done

View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
source ./dockerContainerAction.sh
# FIXME!!! implement possibility to pass down directory
upDownContainers pull