Hi All,

I have a kubernetes cluster and a private registry running.
I followed these steps to create the login credentials on each node: 
http://kubernetes.io/docs/user-guide/images/

On each node, I created the login credentials with the "docker login 
registry.xxxx.de:5000" command (under root *and *coreos user). 
As the result, I have a config.json file on each host in the directory 
*/root/.docker/ 
*with the content:

cat .docker/config.json 
{
    "auths": {
        "registry.xxxx.de:5000": {
            "auth": "cmVdftHgdAAsaXR0bGVCSUc=",
            "email": ""
        }
    }
}

When I try to start a container(pod) from the private registry, I get the 
following error back:
Failed to pull image "registry.xxxx.de:5000/my-apache2": API error (500): 
Get https://registry.xxxx.de:5000/v2/my-apache2/manifests/latest: no basic 
auth credentials\n"

When I connect directly to a node  and start the container manually with 
the command "*docker run registry.xxxx.de:5000/v2/my-apache2*", the 
container will be loaded and started fine.

Where can be the problem why the registry cannot be connected "from the 
kubernetes cluster" with kubectl ?

Cheers, Thomas 

-- 
You received this message because you are subscribed to the Google Groups 
"Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to