mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 14:06:50 +00:00
Merge pull request #7067 from nextcloud/enh/6410/improve-docker-image-prune
docker-image-prune: only remove image with `label=org.label-schema.vendor=Nextcloud`
This commit is contained in:
commit
981d5b6092
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ while true; do
|
|||
fi
|
||||
|
||||
# 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
|
||||
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