Added buildx clear cache

This commit is contained in:
ops 2025-01-27 07:38:30 -06:00
parent 42223ea933
commit 3e69390b44

View File

@ -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 '<none>' | 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