diff --git a/files/docker-prune-dangling-images.sh b/files/docker-prune-dangling-images.sh index 74cc4f6..d22e905 100644 --- a/files/docker-prune-dangling-images.sh +++ b/files/docker-prune-dangling-images.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash -docker image prune --force > /var/log/docker-prune.log 2>&1 +# "system" prune, because pruning images only leaves a lot of garbage around +docker system prune --force > /var/log/docker-prune.log 2>&1 exit 0