test

~]# docker exec -it registry sh
/ # vi /etc/docker/registry/config.yml 
version: 0.1
log:
  fields:
    service: registry
storage:
  cache:
    blobdescriptor: inmemory
  filesystem:
    rootdirectory: /var/lib/registry
http:
  addr: :5000
  headers:
    X-Content-Type-Options: [nosniff]
health:
  storagedriver:
    enabled: true
    interval: 10s
    threshold: 3
~

posted @ 2018-05-05 15:36  dance_man  阅读(85)  评论(0编辑  收藏  举报