Docker repository returns 501 Not Implemented on push

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

Docker repository returns 501 Not Implemented on push

melka
Hi, I am setting up Artifactory as a docker repository. I followed the documentation and I am able to successfully pull images from my virtual Docker repo.

However, when I try to push an image to a local repository, it fails with 501 Not Implemented error.

This is my setup:
Nginx is reverse-proxying:
artifactory.somedomain.com:8085 -> http://localhost:8081/artifactory/api/docker/docker-local/v2
artifactory.somedomain.com:8086 -> http://localhost:8081/artifactory/api/docker/docker/v2

docker-local is a local repository, API V2, does not force authentication. No other setting set.
docker is a virtual repository, aggregates docker-local and docker-remote (which just proxies to std Docker repo)

Commands run:
docker pull artifactory.somedomain.com:8086/busybox:latest
docker tag artifactory.somedomain.com:8086/busybox artifactory.somedomain.com:8085/busybox
docker push artifactory.somedomain.com:8085/busybox

Results in:
The push refers to a repository [artifactory.somedomain.com:8085/busybox] (len: 1)
2c5ac3f849df: Buffering to Disk
Received unexpected HTTP status: 501 Not Implemented


Any ideas what could be wrong?
Thank you!