Search code examples
dockerpingdocker-registry

docker registry ping 404


I have created a docker registry with

docker run
-e SETTINGS_FLAVOR=s3
-e STORAGE_PATH=/registry
-e SEARCH_BACKEND=sqlalchemy
-p 5000:5000 
registry

and by ping become

172.17.0.1 - - [18/Jun/2017:17:56:47 +0000] "GET /v2/_ping HTTP/1.1" 404 19 "" ""

But I can push and pull images.


Solution

  • https://github.com/docker/distribution/issues/994

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