From d5f0bca4a01156753bb9dcd3a749a4b0fba23342 Mon Sep 17 00:00:00 2001 From: Pavel Sviderski Date: Fri, 29 Nov 2024 09:53:20 +1000 Subject: [PATCH] ucind: call cleanup on exit as well, e.g. main process crash --- scripts/docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docker/entrypoint.sh b/scripts/docker/entrypoint.sh index 074d9c2d..f2a1a64e 100755 --- a/scripts/docker/entrypoint.sh +++ b/scripts/docker/entrypoint.sh @@ -21,7 +21,7 @@ cleanup() { # Wait for processes to terminate. wait } -trap cleanup INT TERM +trap cleanup INT TERM EXIT dind dockerd & echo "Waiting for Docker in Docker to be ready..."