Merge pull request #1592 from sharelatex/ew-clean-stray-containers

Clean Up Containers

GitOrigin-RevId: 334f5458981b68432f0e0d086176f508ee83e836
This commit is contained in:
Timothée Alby 2019-03-07 10:29:48 -05:00 committed by James Allen
parent 89f31d71e3
commit 8187eb7fcb

View file

@ -209,6 +209,7 @@ clean_css:
clean_ci: clean_ci:
$(DOCKER_COMPOSE) down -v -t 0 $(DOCKER_COMPOSE) down -v -t 0
docker container list | grep 'days ago' | cut -d ' ' -f 1 - | xargs -r docker container stop
docker image prune -af --filter "until=48h" docker image prune -af --filter "until=48h"
docker network prune -f docker network prune -f