stdlib/docker: #Run do not fail if container exists and recreate is false

Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
Sam Alba 2021-11-02 15:09:15 -07:00
parent 33685f9bbf
commit a4761c0f64

View File

@ -227,6 +227,7 @@ import (
docker rm "$CONTAINER_NAME" docker rm "$CONTAINER_NAME"
else else
echo "$CONTAINER_NAME already exists" echo "$CONTAINER_NAME already exists"
exit 0
fi fi
} }
fi fi