From e2f92a30c6bbbb7903b109fed2c1bffb55933440 Mon Sep 17 00:00:00 2001 From: Zoey Date: Thu, 23 Feb 2023 18:05:08 +0100 Subject: [PATCH] remove removing tmp volumes Signed-off-by: Zoey --- Containers/mastercontainer/cron.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/Containers/mastercontainer/cron.sh b/Containers/mastercontainer/cron.sh index e8e10be6..f8cedce9 100644 --- a/Containers/mastercontainer/cron.sh +++ b/Containers/mastercontainer/cron.sh @@ -52,9 +52,6 @@ while true; do # Remove dangling images sudo -u www-data docker image prune --force - - # Remove dangling volumes - for volume in $(sudo -u www-data docker volume ls --quiet --filter dangling=true | grep -E "^[a-z0-9]{64}$"); do sudo -u www-data docker volume remove "$volume"; done # Wait 60s so that the whole loop will not be executed again sleep 60