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

404 returned on v2/_ping for docker registry #994

Closed
devshorts opened this issue Sep 17, 2015 · 2 comments
Closed

404 returned on v2/_ping for docker registry #994

devshorts opened this issue Sep 17, 2015 · 2 comments

Comments

@devshorts
Copy link

I am trying to run a docker registry local and used the quickstart to execute:

docker run -d -p 5000:5000 registry:2 

and if I do a curl on the ping I get a 404 not found.

root@dom-docker akropp]# curl localhost:5000/v2/_ping
404 page not found
[root@dom-docker akropp]# curl localhost:5000/v2/
[root@dom-docker akropp]# docker exec docker-registry registry --version
registry github.com/docker/distribution v2.1.1

Any ideas? Seems like this should just work out of the box right?

@devshorts
Copy link
Author

I should mention that the registry seems to be working...

[root@dom-docker akropp]# docker push localhost:5000/centos
The push refers to a repository [localhost:5000/centos] (len: 1)
0f73ae75014f: Image already exists
f37e6a610a37: Image already exists
f9a8cbc8dd13: Image already exists
f6f39725d938: Image already exists
47d44cb6f252: Image already exists
centos7: digest: sha256:fb14a65c1d2a1ce208bb3ecf027682ddf7f0063bb105e40657d37ebccf11aca8 size: 8624```

@RichardScothern
Copy link
Contributor

The ping endpoint for the registry is /v2/ not /v2/_ping

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