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

Re: how to set no_proxy for s2i registry push?



Adding the registry's address to NO_PROXY in /etc/sysconfig/docker works. 

However it doesn't feel like something I should be changing by hand. Is this something I missed in the ansible configuration when installing? 

On 20 September 2016 at 14:09, Lionel Orellana <lionelve gmail com> wrote:
Hi

I'm getting this error when building the wildfly:10  builder sample on a containerised v1.3.0. 

ushing image 172.19.38.253:5000/bimorl/wildfly:latest ...
Registry server Address: 
Registry server User Name: serviceaccount
Registry server Email: serviceaccount example org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: Error: Status 503 trying to push repository bimorl/wildfly:
<title>ERROR: The requested URL could not be retrieved</title>
Connection to 172.19.38.253 failed.</b></p>\n</blockquote>\n\n<p id=\"sysmsg\">The system returned: <i>(145) Connection timed out</i></p>\n\n<p>The remote host or network may be down. Please try the request again.

curl fails with the same error but succeeds if I use --no-proxy

I set Environment="NO_PROXY=172.19.38.253" in /etc/systemd/system/docker.service.d/http-proxy.conf on all hosts to no avail. 

Where should I set no_proxy for this?

Thanks

Lionel.







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