Hi.

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.
https://en.wikipedia.org/wiki/Uniform_Resource_Locator#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
[email protected]<mailto:[email protected]>
[Logo_Cloudwerkstatt]<http://www.cloudwerkstatt.com/>

Von: [email protected] 
[mailto:[email protected]] Im Auftrag von ???
Gesendet: Freitag, 22. Juli 2016 15:19
An: aleks <[email protected]>
Cc: users <[email protected]>
Betreff: Re: How to set an proxy in the openshift origin to pull the image

Thanks,
    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:[email protected]:8080/

3.  HTTPS_PROXY=https://USERNAME:[email protected]:8080/

NO_PROXY=master.hostname.example.com,172.30.123.45,docker-registry.default.svc.cluster.local

4.  Restart the Docker service:

# systemctl restart docker
------------------ Original ------------------
From:  "aleks";<[email protected]<mailto:[email protected]>>;
Date:  Fri, Jul 22, 2016 03:03 AM
To:  "周华康"<[email protected]<mailto:[email protected]>>;
Cc:  
"users"<[email protected]<mailto:[email protected]>>;
Subject:  Re: How to set an proxy in the openshift origin to pull the image

Hi.

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
> https://registry-1.docker.io/v2/library/dancer-example/manifests/latest:
> Get
> https://auth.docker.io/token?scope=repository%3Alibrary%2Fdancer-example%3Apull&service=registry.docker.io:
> dial tcp: lookup auth.docker.io on 10.202.72.116:53: read udp
> 10.161.67.132:57753->10.202.72.116:53: i/o timeout\n"

Maybe this can help

https://docs.openshift.org/latest/install_config/http_proxies.html

BR aleks
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to