ls -lh /docker/yml/nextcloud/db/binlog.*
-rw-rw---- 1 999 999 906M Oct 3 00:46 /root/docker/yml/nextcloud/db/binlog.000081
can be up to 3 and more gigabites
work for clear in terminal, but not fork if it lauch cron:
docker exec nextcloudDB2 mysql --user=root --password=“xxx” --execute=‘PURGE BINARY LOGS BEFORE NOW() - INTERVAL 1 HOUR;’