Docker Community Forums

Share and learn in the Docker community.

Remote docker registry connection fails with http error 404 19

I’m attempting to setup a registry for a development team that can be accessed remotely using the code here:


docker run -d
–name registry
-v “$(pwd)”/certs:/certs
-e REGISTRY_HTTP_TLS_KEY=/certs/domain.key
-p 443:443

The certs where created with mkcert and the container runs successfully. I can tag, pull and push images locally, but when I attempt to connect from a remote server, the container logs report the following:

… “HEAD /_ping HTTP/1.1” 404 19 “” “Docker-Client/20.10.8 (linux)”
…“GET /_ping HTTP/1.1” 404 19 “” “Docker-Client/20.10.8 (linux)”
…“GET /v1.24/info HTTP/1.1” 404 19 “” “Go-http-client/1.1”…

I’m not sure how to troubleshoot.