- added new docker command for all containers
- corrected param parsing
This commit is contained in:
parent
b5f66ebcb8
commit
b114c139b1
@ -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
|
||||||
|
7
scripts/pullContainers.sh
Normal file
7
scripts/pullContainers.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
source ./dockerContainerAction.sh
|
||||||
|
|
||||||
|
# FIXME!!! implement possibility to pass down directory
|
||||||
|
upDownContainers pull
|
Loading…
Reference in New Issue
Block a user