405 Method not allowed when pushing to private docker repo

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

405 Method not allowed when pushing to private docker repo

byrner75
Artifactory Pro 4.7.1 (CentOS)
Docker version 1.10.3 (Mac)
Apache 2.4

Hi,

I've setup a private docker repo and am using an Apache HTTP Reverse proxy. I can pull images no problem through from docker hub via the proxy however I cannot push images to the private repo.

When I tag and do a push I see some progress bars and then it bombs out with the following error.

Error parsing HTTP response: invalid character '<' looking for beginning of value: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>405 Method Not Allowed</title>\n</head><body>\n

Method Not Allowed

\n<p>The requested method PATCH is not allowed for the URL /v2/nginx/blobs/uploads/04b2152f-e9ad-42b7-a670-64b6f6a668be.</p>\n</body></html>

The nginx container is what I am trying to push just to verify everything is working.

Any help/advice would be greatly appreciated.

Cheers,
Rob.