Hi,

We are trying to expose the OpenShift docker registry to users of Minishift
and will automate the steps in a way that it would be easier for an user to
use it as a local docker registry.

I have manually tried the steps  [1] [2] on minishift but getting the
following error  i.e. "unauthorized: authentication required" when I am
trying to push a docker image.

$ docker login -u developer -p
5lsWLLaKeIpXUGtGnPMzK7R0aUDojW8o91wfLojqrGw
docker-registry-default.192.168.42.83.nip.io:80
Login Succeeded

$ docker push docker-registry-default.192.168.42.83.nip.io:80/myproject/busybox

The push refers to a repository
[docker-registry-default.192.168.42.83.nip.io:80/myproject/busybox]
38ac8d0f5bb3: Pushing
[==================================================>] 1.143 MB
unauthorized: authentication required

Any pointers to fix the issue will be appreciated.

FYI, Minishift uses "cluster up" mechanism to boot strap the OpenShift
instance.

[1] https://github.com/minishift/minishift/issues/254#issuecomment-284985284
[2] https://github.com/minishift/minishift/issues/254#issuecomment-285591570

Thanks,
Lala
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to