osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/39374?usp=email )
Change subject: scripts/docker-cleanup: add "docker system prune" ......................................................................
scripts/docker-cleanup: add "docker system prune"
On build4 this freed up another 8.223GB when I just ran it:
$ docker system prune WARNING! This will remove: - all stopped containers - all networks not used by at least one container - all dangling images - all dangling build cache
Are you sure you want to continue? [y/N]
Change-Id: I98aa5324eaf7cf319625d85bc80d431b89ee50a7 --- M scripts/docker-cleanup.sh 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/scripts/docker-cleanup.sh b/scripts/docker-cleanup.sh index 982ccea..f1ed6f2 100755 --- a/scripts/docker-cleanup.sh +++ b/scripts/docker-cleanup.sh @@ -44,3 +44,6 @@
# remove docker buildkit cache docker builder prune --all --filter "until=24h" -f + +# remove dangling images +docker system prune -f