docker-reclaimed-space-prune.sh
· 120 B · Bash
Raw
RESULT=$(docker system prune -a -f | grep "reclaimed space")
echo "Docker system prune: $RESULT" # Reclaimed space 12GB
| 1 | RESULT=$(docker system prune -a -f | grep "reclaimed space") |
| 2 | |
| 3 | echo "Docker system prune: $RESULT" # Reclaimed space 12GB |