Added buildx clear cache
This commit is contained in:
parent
42223ea933
commit
3e69390b44
|
@ -3,7 +3,12 @@
|
||||||
# remove exited containers:
|
# remove exited containers:
|
||||||
docker ps --filter status=dead --filter status=exited -aq | xargs -r docker rm -v
|
docker ps --filter status=dead --filter status=exited -aq | xargs -r docker rm -v
|
||||||
# remove unused images
|
# 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:
|
# remove unused volumes:
|
||||||
docker volume prune -f
|
docker volume prune -a -f
|
||||||
|
# remove buildx cache
|
||||||
|
docker buildx prune -f
|
||||||
|
# show results
|
||||||
|
docker system df
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user