diff --git a/registry/garbage-collect.sh b/registry/garbage-collect.sh index 40c02dd..ea62ca3 100755 --- a/registry/garbage-collect.sh +++ b/registry/garbage-collect.sh @@ -1,10 +1,7 @@ #!/bin/sh -echo "Script started" - while true; do + sleep 72h # every 3 days echo "Starting garbage collection..." registry garbage-collect /etc/docker/registry/config.yml || true - echo "Garbage collection finished" - sleep 72h # every 3 days done