Merge pull request #1094 from samalba/stdlib-docker-run-recreate2

stdlib/docker: #Run does not fail if container exists and recreate is false
This commit is contained in:
Sam Alba 2021-11-02 15:34:47 -07:00 committed by GitHub
commit 164e6e3eb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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