Thanks Dan. However I sent a subsequent message saying that there was an error in the URL. I think the message is misleading though as it should trigger a 404 Not Found error and not an Unauthorized one.
> On 15 Feb 2016, at 15:09, Dan Mace <[email protected]> wrote: > > On Mon, Feb 15, 2016 at 5:01 AM, Candide Kemmler <[email protected] > <mailto:[email protected]>> wrote: > I'm trying to deploy a couchdb container > <https://hub.docker.com/r/klaemo/couchdb/> on openshift, and have created 3 > yaml files to this end: > > a persistent volume > a persistent volume claim > a deployment config > > (see attached files) > > However, I'm getting the following error upon deployment > > Failed to pull image > "docker.io/centos/klaemo/couchdb@sha256:d33822ecaae2e6247243b24c5c72c525714d77b904105f71679fbad04756bc96 > > <http://docker.io/centos/klaemo/couchdb@sha256:d33822ecaae2e6247243b24c5c72c525714d77b904105f71679fbad04756bc96>": > unauthorized: access to the requested resource is not authorized > > The container is hosted on docker's public registry so wondering what this > message means... > > I tried pulling that image myself with `docker pull` and got the same error, > which means access to the image requires docker hub authentication. You need > to create a secret in OpenShift which contains the pull credentials and then > reference that secret in the pod defined in your deploymentConfig. Here's > some more information about image pull secrets in Kubernetes and OpenShift: > > https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/images.md#specifying-imagepullsecrets-on-a-pod > > <https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/images.md#specifying-imagepullsecrets-on-a-pod> > https://docs.openshift.org/latest/dev_guide/image_pull_secrets.html > <https://docs.openshift.org/latest/dev_guide/image_pull_secrets.html> > > If that's not enough to get you moving, please reach out! > > -- Dan > >
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
