---------- Forwarded message ---------- From: Maciej Szulik <[email protected]> Date: Fri, Mar 10, 2017 at 10:11 AM Subject: Re: Issues exposing the docker registry To: Lalatendu Mohanty <[email protected]> Cc: "[email protected]" <[email protected]>
Does 'myproject' project exists before pushing the image, I've skimmed through the issue but haven't found that information. You cannot push an image to a project (the name before the image name denotes project in OpenShift) which does not exists or you do not have necessary privileges. Iow. you need to be able to create ImageStream in 'myproject'. Maciej On Fri, Mar 10, 2017 at 8:56 AM, Lalatendu Mohanty <[email protected]> wrote: > 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#issuecomme > nt-284985284 > [2] https://github.com/minishift/minishift/issues/254#issuecomme > nt-285591570 > > Thanks, > Lala > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev > >
_______________________________________________ dev mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
