Skip to content

Instantly share code, notes, and snippets.

@emonty
Created April 5, 2017 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emonty/1c7846b6623057012d605ccad499ceec to your computer and use it in GitHub Desktop.
Save emonty/1c7846b6623057012d605ccad499ceec to your computer and use it in GitHub Desktop.
version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /var/lib/docker-registry
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
proxy:
remoteurl: https://registry-1.docker.io
{
"debug": true,
"registry-mirrors": [
"http://localhost:5000"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment