mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-22 07:26:55 +00:00
the image is a volume...
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
e85c43d075
commit
c2444912b8
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ while true; do
|
||||||
sudo -u www-data docker image prune --force
|
sudo -u www-data docker image prune --force
|
||||||
|
|
||||||
# Remove dangling volumes
|
# Remove dangling volumes
|
||||||
for image in $(docker volume ls --quiet --filter dangling=true | grep -E "^[a-z0-9]{64}$"); do docker volume remove "$image"; done
|
for volume in $(docker volume ls --quiet --filter dangling=true | grep -E "^[a-z0-9]{64}$"); do 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