prune system and not images
This commit is contained in:
parent
bf5822059e
commit
260bfa8fb6
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue