mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
remove removing tmp volumes
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
9e9e991cb6
commit
e2f92a30c6
1 changed files with 0 additions and 3 deletions
|
|
@ -52,9 +52,6 @@ while true; do
|
||||||
|
|
||||||
# Remove dangling images
|
# Remove dangling images
|
||||||
sudo -u www-data docker image prune --force
|
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
|
# Wait 60s so that the whole loop will not be executed again
|
||||||
sleep 60
|
sleep 60
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue