File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
container-manager/src/gen/scripts Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,15 @@ if [[ -z $1 ]]; then
77 echo " Missing argument"
88 echo " Usage: docker-down.sh PROFILE"
99 echo " Profile:"
10- echo " machine1 - subnet nodes"
11- echo " services - relayer, backend, frontend"
10+ echo " machine1, machine2, ... (as defined in docker-compose.yml)"
1211 exit
1312fi
1413
15- docker compose --profile $1 down
14+ which docker-compose
15+ if [[ $? != 0 ]]; then
16+ shopt -s expand_aliases
17+ alias docker-compose=' docker compose'
18+ fi
19+
20+ docker-compose --profile $1 down
1621
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ if [[ -z $1 ]]; then
66 echo " Missing argument"
77 echo " Usage: docker-up.sh PROFILE"
88 echo " Profile:"
9- echo " machine1"
9+ echo " machine1, machine2, ... (as defined in docker-compose.yml) "
1010 exit
1111fi
1212
You can’t perform that action at this time.
0 commit comments