docker-archive / docker-registry

This is **DEPRECATED**! Please go to https://github.com/docker/distribution
Apache License 2.0
2.89k stars 877 forks source link

Docker private registry search in S3 : Error response from daemon:Unexpected status code 404 #1030

Open jc-evogi opened 8 years ago

jc-evogi commented 8 years ago

Request for example: $docker search docker-registry.example.com:5000/nginx output: Error response from daemon:unexpected status code 404

Docker v1.8.2 Registry 2.1.1

Response time="2015-09-24T06:43:34Z" level=info msg="response completed" http.request.host="docker-registry.example.com:5000" http.request.id=3a30f075-16a4-4b28-935f-8b33acfae5ba http.request.method=GET http.request.remoteaddr="54.153.12.46:5000" http.request.uri="/v2/" http.request.useragent="docker/1.8.2 go/go1.4.2 git-commit/0a8c2e3 kernel/3.13.0-63-generic os/linux arch/amd64" http.response.contenttype="application/json; charset=utf-8" http.response.duration=1.483883ms http.response.status=200 http.response.written=2 instance.id=60ba1e96-18ca-462a-8d14-bad103588a83 version=v2.1.1 54.153.12.46 - - [24/Sep/2015:06:43:34 +0000] "GET /v2/ HTTP/1.1" 200 2 "" "docker/1.8.2 go/go1.4.2 git-commit/0a8c2e3 kernel/3.13.0-63-generic os/linux arch/amd64" 54.153.12.46 - - [24/Sep/2015:06:43:34 +0000] "GET /v1/search?q=nginx HTTP/1.1" 404 19 "" "docker/1.8.2 go/go1.4.2 git-commit/0a8c2e3 kernel/3.13.0-63-generic os/linux arch/amd64"

xuedihualu commented 8 years ago

hi: I have the same problem,did you have solved the problem?

dmp42 commented 8 years ago

registry:2 issue tracker is here: https://github.com/docker/distribution

Also, there is no search in the v2 protocol yet.