[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: modifications to docker package preventing correct proxy settings?

Everything looked like it was working from the cli. However, I ran /var/log/messages | grep docker to look at the docker daemon logs. I was still getting certificate errors. I loaded hub.docker.com into my browser and extracted the certificate chain. I put those in /etc/docker/certs.d/docker.io and it worked part-way.

I needed to add those proxy certs to the global location and now it works all the way.

On Tue, Oct 18, 2016 at 7:42 PM, Lionel Orellana <lionelve gmail com> wrote:
I've had a lot of problems with proxy variables too. 

Is the proxy configured in /etc/systemd/system/docker.service.d/http-proxy.conf ?


I've had to do other changes to the docker service to get it to work but in terms of the proxy that should be it (you also need it in /etc/sysconfig/docker). 

On 19 October 2016 at 02:47, Dean Peterson <peterson dean gmail com> wrote:
Hello, I am having a very difficult time. I am starting to think there is a modification Redhat has done to the docker packages preventing my proxy setting from working correctly. Our openshift is behind a proxy server. When I try to do a simple "docker pull centos", I get the frustrating error: "Tag latest not found in repository docker.io/library/centos".  I have tried other tags as well with no luck. Before I put the proxy setting in, I received "authorizationrequired" messages. I got past that by adding the proxy info to /etc/sysconfig/docker. Then I received x509 errors. I got past that by adding the appropriate certificate file to docker. Now, with everything seemingly correct, I am unable to do a simple pull. From what I can tell, this is not an issue with stock docker. Is there something else that needs to be done to make the redhat docker package work with a proxy?

Inline image 1

users mailing list
users lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]