mirror of https://gerrit.osmocom.org/osmo-ci
scripts/docker-cleanup.sh: use "docker system prune"
Do not only clean up dangling images, but also containers, volumes and networks. Related: SYS#5827 Change-Id: If441b251de50063f0229d36fb1bc260a4cb1dd87
This commit is contained in:
parent
2b77e64c48
commit
b5ebf6ea6b
|
@ -12,4 +12,5 @@ if [ -n "$CONTAINERS" ]; then
|
|||
docker rm $CONTAINERS
|
||||
fi
|
||||
|
||||
docker image prune -f
|
||||
# remove dangling images, containers, volumes, and networks (not tagged or associated with a container)
|
||||
docker system prune -f
|
||||
|
|
Loading…
Reference in New Issue