remove useless file
log file
1
2
ls /var/lib/docker/containers/*/*-json.log -lh|awk '{print $9}'
echo > *.log
unused volumn files
1
docker volume rm $(docker volume ls -qf dangling=true)
unused containers, images, etc…
1
docker system prune -f