From 4a250a78a708c6c3c71bcc8a580dff0f1702e908 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 21 Nov 2021 00:12:17 +0200 Subject: [PATCH] add clear --- clear-all-docker.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 clear-all-docker.sh diff --git a/clear-all-docker.sh b/clear-all-docker.sh new file mode 100755 index 0000000..e510db1 --- /dev/null +++ b/clear-all-docker.sh @@ -0,0 +1,6 @@ +docker rmi $(docker image ls -q) -f +docker container prune -f +docker image prune -f +docker volume prune -f +df -h +