Skip to content

Instantly share code, notes, and snippets.

@ryanwoodsmall
Created September 25, 2020 06:41
Show Gist options
  • Save ryanwoodsmall/b6ee4b3c18321ca995eb3eb267c14882 to your computer and use it in GitHub Desktop.
Save ryanwoodsmall/b6ee4b3c18321ca995eb3eb267c14882 to your computer and use it in GitHub Desktop.
config.yml for docker registry cleanup : registry garbage-collect /tmp/config.yml -m
version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /var/lib/registry
delete:
enabled: true
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment