Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manifest unknown #8

Closed
2 tasks done
vipcxj opened this issue Jul 1, 2024 · 3 comments
Closed
2 tasks done

manifest unknown #8

vipcxj opened this issue Jul 1, 2024 · 3 comments

Comments

@vipcxj
Copy link

vipcxj commented Jul 1, 2024

前置确认

  • 我确认使用的是国外未被墙的服务器,使用的是最新脚本,并且服务器规格 >= 1C1G

⚠️ 搜索issues中是否已存在类似问题

  • 我已经搜索过issues和disscussions,没有跟我遇到的问题相关的issue

操作系统类型?

CentOS 7

复现步骤 🕹

docker pull localhost:5000/busybox:latest

返回Error response from daemon: manifest for localhost:5000/busybox:latest not found: manifest unknown: manifest unknown
最初我直接用官方registry镜像也这毛病,我以为我哪里配置错误,所以网上又找了你的修改一键版,结果问题一样~
直接
docker pull busybox:latest
是没问题的,服务器是新加坡的,所以不存在墙的问题

问题描述 😯

报manifest unknown错误

终端日志 📒

time="2024-07-01T10:21:59.019757659Z" level=warning msg="No HTTP secret provided - generated random secret. This may cause problems with uploads if multiple registries are behind a load-balancer. To provide a shared secret, fill in http.secret in the configuration file or set the REGISTRY_HTTP_SECRET environment variable." go.version=go1.21.5 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry version=3.0.0-alpha.1
time="2024-07-01T10:21:59.019825846Z" level=info msg="redis not configured" go.version=go1.21.5 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry version=3.0.0-alpha.1
time="2024-07-01T10:21:59.019869646Z" level=info msg="using inmemory blob descriptor cache" go.version=go1.21.5 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry version=3.0.0-alpha.1
time="2024-07-01T10:21:59.01996646Z" level=info msg="Starting cached object TTL expiration scheduler..." go.version=go1.21.5 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry version=3.0.0-alpha.1
time="2024-07-01T10:21:59.021000249Z" level=info msg="Starting upload purge in 30m0s" go.version=go1.21.5 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry version=3.0.0-alpha.1
time="2024-07-01T10:21:59.735812122Z" level=info msg="Discovered token authentication URL: https://auth.docker.io/token" go.version=go1.21.5 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry version=3.0.0-alpha.1
time="2024-07-01T10:21:59.735855155Z" level=info msg="Registry configured as a proxy cache to https://registry-1.docker.io" go.version=go1.21.5 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry version=3.0.0-alpha.1
time="2024-07-01T10:21:59.735868039Z" level=warning msg="Registry does not implement RepositoryRemover. Will not be able to delete repos and tags" go.version=go1.21.5 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry version=3.0.0-alpha.1
time="2024-07-01T10:21:59.73615173Z" level=info msg="listening on [::]:5000" go.version=go1.21.5 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry version=3.0.0-alpha.1
172.20.0.1 - - [01/Jul/2024:10:22:39 +0000] "GET /v2/ HTTP/1.1" 200 2 "" "docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))"
time="2024-07-01T10:22:39.301457002Z" level=info msg="response completed" go.version=go1.21.5 http.request.host="localhost:5000" http.request.id=07a228b4-fdec-43ad-ac5d-8398f34a6e1f http.request.method=GET http.request.remoteaddr="172.20.0.1:60756" http.request.uri=/v2/ http.request.useragent="docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))" http.response.contenttype=application/json http.response.duration="934.186µs" http.response.status=200 http.response.written=2 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry version=3.0.0-alpha.1
2024/07/01 10:22:39 traces export: Post "https://localhost:4318/v1/traces": dial tcp 127.0.0.1:4318: connect: connection refused
time="2024-07-01T10:22:40.046714747Z" level=info msg="Challenge established with upstream : {https   registry-1.docker.io /v2/  %!s(bool=false) %!s(bool=false)   } &{{{%!s(int32=0) %!s(uint32=0)} %!s(uint32=0) %!s(uint32=0) {{} %!s(int32=0)} {{} %!s(int32=0)}} map[https://registry-1.docker.io:443/v2/:[{bearer map[realm:https://auth.docker.io/token service:registry.docker.io]}]]}" go.version=go1.21.5 http.request.host="localhost:5000" http.request.id=546f0264-5f89-4902-b907-60ace483d080 http.request.method=HEAD http.request.remoteaddr="172.20.0.1:60760" http.request.uri=/v2/busybox/manifests/stable http.request.useragent="docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))" instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry vars.name=busybox vars.reference=stable version=3.0.0-alpha.1
time="2024-07-01T10:22:41.760048594Z" level=error msg="response completed with error" err.code="manifest unknown" err.detail="unknown tag=stable" err.message="manifest unknown" go.version=go1.21.5 http.request.host="localhost:5000" http.request.id=546f0264-5f89-4902-b907-60ace483d080 http.request.method=HEAD http.request.remoteaddr="172.20.0.1:60760" http.request.uri=/v2/busybox/manifests/stable http.request.useragent="docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))" http.response.contenttype=application/json http.response.duration=2.45690939s http.response.status=404 http.response.written=100 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry vars.name=busybox vars.reference=stable version=3.0.0-alpha.1
172.20.0.1 - - [01/Jul/2024:10:22:39 +0000] "HEAD /v2/busybox/manifests/stable HTTP/1.1" 404 100 "" "docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))"
time="2024-07-01T10:22:42.480463877Z" level=error msg="response completed with error" err.code="manifest unknown" err.detail="unknown tag=stable" err.message="manifest unknown" go.version=go1.21.5 http.request.host="localhost:5000" http.request.id=ef243746-a943-415f-827a-9433c24423ba http.request.method=GET http.request.remoteaddr="172.20.0.1:60774" http.request.uri=/v2/busybox/manifests/stable http.request.useragent="docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))" http.response.contenttype=application/json http.response.duration=719.33056ms http.response.status=404 http.response.written=100 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry vars.name=busybox vars.reference=stable version=3.0.0-alpha.1
172.20.0.1 - - [01/Jul/2024:10:22:41 +0000] "GET /v2/busybox/manifests/stable HTTP/1.1" 404 100 "" "docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))"
2024/07/01 10:22:44 traces export: Post "https://localhost:4318/v1/traces": dial tcp 127.0.0.1:4318: connect: connection refused
time="2024-07-01T10:24:37.24283066Z" level=info msg="response completed" go.version=go1.21.5 http.request.host="localhost:5000" http.request.id=893b11b9-4313-420d-82c6-e45afe3c422a http.request.method=GET http.request.remoteaddr="172.20.0.1:60488" http.request.uri=/v2/ http.request.useragent="docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))" http.response.contenttype=application/json http.response.duration="72.797µs" http.response.status=200 http.response.written=2 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry version=3.0.0-alpha.1
172.20.0.1 - - [01/Jul/2024:10:24:37 +0000] "GET /v2/ HTTP/1.1" 200 2 "" "docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))"
172.20.0.1 - - [01/Jul/2024:10:24:37 +0000] "HEAD /v2/busybox/manifests/latest HTTP/1.1" 404 100 "" "docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))"
time="2024-07-01T10:24:38.919697222Z" level=error msg="response completed with error" err.code="manifest unknown" err.detail="unknown tag=latest" err.message="manifest unknown" go.version=go1.21.5 http.request.host="localhost:5000" http.request.id=a453d089-2bee-4b20-a970-9b70b9748916 http.request.method=HEAD http.request.remoteaddr="172.20.0.1:60500" http.request.uri=/v2/busybox/manifests/latest http.request.useragent="docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))" http.response.contenttype=application/json http.response.duration=1.67520052s http.response.status=404 http.response.written=100 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry vars.name=busybox vars.reference=latest version=3.0.0-alpha.1
172.20.0.1 - - [01/Jul/2024:10:24:38 +0000] "GET /v2/busybox/manifests/latest HTTP/1.1" 404 100 "" "docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))"
time="2024-07-01T10:24:39.642867313Z" level=error msg="response completed with error" err.code="manifest unknown" err.detail="unknown tag=latest" err.message="manifest unknown" go.version=go1.21.5 http.request.host="localhost:5000" http.request.id=87473a0e-cbf8-49f0-876f-7cfd2537d019 http.request.method=GET http.request.remoteaddr="172.20.0.1:60510" http.request.uri=/v2/busybox/manifests/latest http.request.useragent="docker/25.0.3 go/go1.21.6 git-commit/f417435 kernel/5.4.243-1.el7.elrepo.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \\(linux\\))" http.response.contenttype=application/json http.response.duration=722.137857ms http.response.status=404 http.response.written=100 instance.id=dcf453cd-1d0e-40d2-b64b-1bd08d3c2c0a service=registry vars.name=busybox vars.reference=latest version=3.0.0-alpha.1
2024/07/01 10:24:39 traces export: Post "https://localhost:4318/v1/traces": dial tcp 127.0.0.1:4318: connect: connection refused

@dqzboy
Copy link
Owner

dqzboy commented Jul 1, 2024

你pull的镜像是在library公共空间下,所以你加速地址后面需要加ibrary

@vipcxj
Copy link
Author

vipcxj commented Jul 1, 2024

你pull的镜像是在library公共空间下,所以你加速地址后面需要加ibrary

原来如此,懂了~ 那我之前k8s里用华为云镜像替换了结果还是pull不了也是因为这个原因?太惨了,兜了个大圈子,白搞~

@vipcxj vipcxj closed this as completed Jul 1, 2024
@vipcxj
Copy link
Author

vipcxj commented Jul 2, 2024

看来没白搞,华为云的镜像也寄了的样子

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants