Ignore errors during container cleanup in CI.

pull/4420/head
Matt Clay 2019-02-21 13:59:56 -08:00
parent e41b98ffb5
commit b2f354ce29
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ docker images quay.io/ansible/*
docker ps
for container in $(docker ps --format '{{.Image}} {{.ID}}' | grep -v '^drydock/' | sed 's/^.* //'); do
docker rm -f "${container}"
docker rm -f "${container}" || true # ignore errors
done
docker ps