mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
docker-image-prune: only remove image with label=org.label-schema.vendor=Nextcloud
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
abf0bbc431
commit
0ee5ec0036
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ while true; do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove dangling images
|
# Remove dangling images
|
||||||
sudo -u www-data docker image prune --force
|
sudo -u www-data docker image prune --filter "label=org.label-schema.vendor=Nextcloud" --force
|
||||||
|
|
||||||
# Check for available free space
|
# Check for available free space
|
||||||
sudo -u www-data php /var/www/docker-aio/php/src/Cron/CheckFreeDiskSpace.php
|
sudo -u www-data php /var/www/docker-aio/php/src/Cron/CheckFreeDiskSpace.php
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue