examples icon indicating copy to clipboard operation
examples copied to clipboard

Docker Registry starts but fails its internal storage healthcheck

Open mimmus opened this issue 7 years ago • 0 comments

Installing latest (2.5.1-0.2) version of Docker Registry with default options (insecure registry), it starts successfully but then fails its internal storage healthcheck:

{ "errors": [ { "code": "UNAVAILABLE", "message": "service unavailable", "detail": "health check failed: please see /debug/health" } ] }

Endpoint /debug/health is not available.

'Exec-ing' in the container, I see that the internal config file /etc/docker/registry/config.yml is:

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

I don't know what type of storage health-check is ran but it fails.

mimmus avatar Mar 12 '18 16:03 mimmus