Added buildx clear cache
This commit is contained in:
1 parent
42223ea933
commit
3e69390b44
1 file changed
+7
-2
+7
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user