From b972b53d6b6cf8adec4435af4770c1409b6cf8a9 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sun, 4 Dec 2022 00:02:53 +0100 Subject: [PATCH] Added remove_dangling_images.sh script --- deploy/remove_dangling_images.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 deploy/remove_dangling_images.sh diff --git a/deploy/remove_dangling_images.sh b/deploy/remove_dangling_images.sh new file mode 100644 index 0000000..c1e00b5 --- /dev/null +++ b/deploy/remove_dangling_images.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +docker rmi $(docker images --filter "dangling=true" -q --no-trunc)