Ignore errors during container cleanup in CI.

This commit is contained in:
Matt Clay 2019-02-21 13:59:56 -08:00
parent e41b98ffb5
commit b2f354ce29

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