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

AW: How to set an proxy in the openshift origin to pull the image



This is the username and password for the proxy.

You only need to add this if your proxy need an authentication.


This is a standard url syntax.



Maybe it should be shown in the doc that this part is optional, something like this.


HTTP_PROXY=http://[USERNAME:PASSWORD ]10 0 1 1:8080/


I not after the disaster with the last try of contribution.



Best regards

Aleksandar Lazic

Cloudwerkstatt GmbH : Lassallestraße 7b : A-1020 Vienna : Austria

aleksandar lazic cloudwerkstatt com



Von: users-bounces lists openshift redhat com [mailto:users-bounces lists openshift redhat com] Im Auftrag von ???
Gesendet: Freitag, 22. Juli 2016 15:19
An: aleks <al-openshiftusers none at>
Cc: users <users lists openshift redhat com>
Betreff: Re: How to set an proxy in the openshift origin to pull the image



    But do you know the the exact meaning of the  paraterm USERNAME:PAWWORD ?

The username and password for the openshift cluster?or for the VPN or other meaning?


Proxying Docker Pull

OpenShift Origin node hosts need to perform push and pull operations to Docker registries. If you have a registry that does not need a proxy for nodes to access, include the NO_PROXY parameter with the registry’s host name, the registry service’s IP address, and service name. This blacklists that registry, leaving the external HTTP proxy as the only option.

1.  Edit the /etc/sysconfig/docker file and add the variables in shell format:

2.  HTTP_PROXY=http://USERNAME:PASSWORD 10 0 1 1:8080/
3.  HTTPS_PROXY=https://USERNAME:PASSWORD 10 0 0 1:8080/

4.  Restart the Docker service:

# systemctl restart docker

------------------ Original ------------------

From:  "aleks";<al-openshiftusers none at>;

Date:  Fri, Jul 22, 2016 03:03 AM

To:  "周华康"<huakang zhou qq com>;

Subject:  Re: How to set an proxy in the openshift origin to pull the image



Am 21-07-2016 09:33, schrieb 周华康:

> Hi
> When i try the deploy the example apps,it shows that in the log i need
> to set an proxy,but how?
> log:
> "API error (500): Get
> Get
> dial tcp: lookup auth.docker.io on read udp
>> i/o timeout\n"

Maybe this can help


BR aleks

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