From a4761c0f6452ef37a4269b93504b66af9922920c Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Tue, 2 Nov 2021 15:09:15 -0700 Subject: [PATCH] stdlib/docker: #Run do not fail if container exists and recreate is false Signed-off-by: Sam Alba --- stdlib/docker/docker.cue | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/docker/docker.cue b/stdlib/docker/docker.cue index 1697f0c0..18413476 100644 --- a/stdlib/docker/docker.cue +++ b/stdlib/docker/docker.cue @@ -227,6 +227,7 @@ import ( docker rm "$CONTAINER_NAME" else echo "$CONTAINER_NAME already exists" + exit 0 fi } fi