2

我想将 nexus 3 用作私有 docker 注册表。一切正常,直到我尝试将 Spinnaker 连接到此注册表,并且当 Spinnaker 尝试使用凭据连接到注册表时,我看到此错误:

2017-02-06T12:22:54.867681925Z 2017-02-06 12:22:54.867 ERROR 1 --- [0.0-7002-exec-8] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.netflix.spinnaker.clouddriver.docker.registry.api.v2.exception.DockerRegistryAuthenticationException: Failed to parse www-authenticate header: Docker registry must support 'Bearer' authentication.] with root cause
2017-02-06T12:22:54.867710980Z 
2017-02-06T12:22:54.867721497Z com.netflix.spinnaker.clouddriver.docker.registry.api.v2.exception.DockerRegistryAuthenticationException: Failed to parse www-authenticate header: Docker registry must support 'Bearer' authentication.

有人知道这个问题吗?

我的云驱动配置:

    dockerRegistry:
      enabled: true
      accounts:
        - name: docker
          address: http://nexus.infrastructure:5000
          username: admin
          password: password
          email: admin@test.ru
          repositories:
4

0 回答 0