Code Monkey home page Code Monkey logo

Comments (8)

colynn avatar colynn commented on August 22, 2024

你具体的环境信息麻烦反馈下,如何复现

from atomci.

lan-teacher avatar lan-teacher commented on August 22, 2024

启动这个docker,配置nginx域名,在服务集成里添加registry就出来了
docker run -p 5000:5000
--restart=always
--name registry
-v /var/lib/registry:/var/lib/registry
-v /var/lib/registry_auth/:/auth/
-e "REGISTRY_AUTH=htpasswd"
-e "REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm"
-e "REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd"
-d registry

from atomci.

colynn avatar colynn commented on August 22, 2024

@lan-teacher 你可以启动 registry:2 v2版本来规避这个问题,

目前集成的registry已经不支持v1协议了 (https://github.com/go-atomci/atomci/blob/master/internal/core/settings/registryhub.go#L22)

from atomci.

lan-teacher avatar lan-teacher commented on August 22, 2024

我换了镜像,浏览器上已经可以使用v2了。atomci上还是一样的报错

from atomci.

sampsonye avatar sampsonye commented on August 22, 2024

image
image

初步排查,你采用的是Basic认证模式,我们项目要求的是Bearer认证

后续我看看怎么兼容

from atomci.

lan-teacher avatar lan-teacher commented on August 22, 2024

已经用了前后端一样的镜像,还是报一样的错,
Uploading WX20221024-143511@2x.png…
WechatIMG28

from atomci.

lan-teacher avatar lan-teacher commented on August 22, 2024

补充:
docker

from atomci.

colynn avatar colynn commented on August 22, 2024

@lan-teacher 请确认下 registry 的htpasswd的生成方式, 还有nginx的代理配置方式,

测试未经过nginx的docker registry:v2 是可以正常集成的

image

image

from atomci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.