docker
  • Introduction
  • 安装
  • 存储驱动选择
  • Dockerfile
    • 前台运行
  • Registry
    • notification
    • auth
      • token认证的设计
    • API
      • pull镜像
      • push镜像
  • 镜像存储
    • 本地存储
    • Registry中的存储
    • 如何判断两个镜像是否是同一个
  • 下载google镜像
  • Docker设置代理
  • 日志
Powered by GitBook
On this page

Was this helpful?

Registry

harbor中的模板如下:

version: 0.1
log:
  level: debug
  fields:
    service: registry
storage:
    cache:
        layerinfo: inmemory
    filesystem:
        rootdirectory: /storage
    maintenance:
        uploadpurging:
            enabled: false
    delete:
        enabled: true
http:
    addr: :5000
    secret: placeholder
    debug:
        addr: localhost:5001

auth:
  token:
    issuer: registry-token-issuer
    realm: $ui_url/service/token
    rootcertbundle: /etc/registry/root.crt
    service: token-service

notifications:
  endpoints:
      - name: harbor
        disabled: false
        url: http://ui/service/notifications
        timeout: 3000ms
        threshold: 5
        backoff: 1s
Previous前台运行Nextnotification

Last updated 4 years ago

Was this helpful?