diff --git a/docker-clean-all b/docker-clean-all index bf6901f..4728187 100755 --- a/docker-clean-all +++ b/docker-clean-all @@ -3,7 +3,12 @@ # remove exited containers: docker ps --filter status=dead --filter status=exited -aq | xargs -r docker rm -v # remove unused images -docker images --no-trunc | grep '' | awk '{ print $3 }' | xargs -r docker rmi -f +docker image prune -a -f # remove unused volumes: -docker volume prune -f +docker volume prune -a -f +# remove buildx cache +docker buildx prune -f +# show results +docker system df +