Add sleep before removing container
This commit is contained in:
1
commands
1
commands
@@ -77,6 +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
|
||||||
|
sleep 1
|
||||||
|
|
||||||
dokku_log_verbose_quiet "Removing container"
|
dokku_log_verbose_quiet "Removing container"
|
||||||
docker rm -v "$ID" > /dev/null
|
docker rm -v "$ID" > /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user