osmith has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/74/39374/1

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

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/39374?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I98aa5324eaf7cf319625d85bc80d431b89ee50a7
Gerrit-Change-Number: 39374
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to