Allow docker kill command to fail
This commit is contained in:
2
commands
2
commands
@@ -77,7 +77,7 @@ case "$1" in
|
|||||||
|
|
||||||
service_stop "$SERVICE"
|
service_stop "$SERVICE"
|
||||||
dokku_log_verbose_quiet "Killing container"
|
dokku_log_verbose_quiet "Killing container"
|
||||||
docker kill "$ID" > /dev/null
|
docker kill "$ID" > /dev/null || true
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
dokku_log_verbose_quiet "Removing container"
|
dokku_log_verbose_quiet "Removing container"
|
||||||
|
|||||||
Reference in New Issue
Block a user