Docker Registry with CRON that runs garbage collection periodically
Simply use the GC_CRON
environment variable to set when the garbage collection should be triggered. You can use this for your docker-compose.yml
:
version: '3'
services:
registry:
image: mareksuchanek/docker-registry
restart: always
environment:
GC_CRON: "*/5 * * * *"
Visit example/
for more details.
This project is licensed under the MIT License - see the LICENSE file for more details.