Error when push docker image to artifactory-registry

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error when push docker image to artifactory-registry

Susan
Hi,
I followed the instruction in this link:
https://www.jfrog.com/confluence/display/RTF/Running+with+Docker#RunningwithDocker-Screencast

I pulled the jfrog-docker-registry.bintray.io/jfrog/artifactory-registry:latest image to my docker daemon (version 1.6) that runs on Ubuntu 14.04.

I started artifactory with:
docker run -d --name wdcartifactory -p 80:80 -p 8081:8081 -p 443:443 -p 5000-5002:5000-5002 jfrog-docker-registry.bintray.io/jfrog/artifactory-registry:latest

I pasted my Artifactory Pro license via the Artifactory UI. I am able to see the following docker repos are created by default:
  docker-dev-local
        docker-dev-local2
        docker-prod-local
        docker-prod-local2

Then I tried to upload a docker image to the dev repo.

root@i-bf4b:/home/cloudadmin# docker push localhost:5002/wdcloud/wdcmini:latest
The push refers to a repository [localhost:5002/wdcloud/wdcmini] (len: 1)
b0cbea8146dd: Image push failed
FATA[0000] Error pushing to registry: Server error: unexpected 403 response status trying to initiate upload of wdcloud/wdcmini

My impression is that docker registry is preconfigured in this the artifactory-registry docker image. Did I miss any configuration here?
Reply | Threaded
Open this post in threaded view
|

Re: Error when push docker image to artifactory-registry

shyr
This post was updated on .
I also suffered this problem. Any solution isn't found yet?