Re: unauthorized trying to deploy docker container
From: Candide Kemmler <candide intrinsic world>
To: Dan Mace <dmace redhat com>
Cc: users <users lists openshift redhat com>
Subject: Re: unauthorized trying to deploy docker container
Date: Mon, 15 Feb 2016 15:54:22 +0100
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.
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: