convenience functions for app container state

This commit is contained in:
Michael Hobbs
2015-07-13 08:24:46 -07:00
parent 633c595311
commit c7cb014580
7 changed files with 60 additions and 33 deletions

View File

@@ -40,7 +40,7 @@ case "$1" in
echo "Destroying $APP (including all add-ons)"
pluginhook pre-delete $APP
DOKKU_APP_CIDS=$(get_container_ids $APP)
DOKKU_APP_CIDS=$(get_app_container_ids $APP)
if [[ -n $DOKKU_APP_CIDS ]]; then
for ID in $DOKKU_APP_CIDS;do
docker stop $ID > /dev/null || true