From 21bffcf262993005397404645ecbb2af4228f8ad Mon Sep 17 00:00:00 2001 From: captainhook <16797541+captainhook@users.noreply.github.com> Date: Wed, 17 Mar 2021 09:38:54 +0000 Subject: [PATCH] Update update-bitwarden.sh (#95) Prune Docker images to reclaim space --- update-bitwarden.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update-bitwarden.sh b/update-bitwarden.sh index b6c35b0..6bd9468 100755 --- a/update-bitwarden.sh +++ b/update-bitwarden.sh @@ -77,5 +77,9 @@ echo "Patching bitwarden.sh completed..." ./bitwarden.sh update +# Prune Docker images without at least one container associated to them. +echo "Pruning Docker images without at least one container associated to them..." +docker image prune -a + cd $SCRIPT_BASE echo "Bitwarden update completed!"