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.



Edit the /etc/sysconfig/docker file and add the variables in shell format:
HTTP_PROXY=http://USERNAME:[email protected]:8080/ 
HTTPS_PROXY=https://USERNAME:[email protected]:8080/ 
NO_PROXY=master.hostname.example.com,172.30.123.45,docker-registry.default.svc.cluster.local






Restart the Docker service:
# systemctl restart docker





------------------ Original ------------------
From:  "aleks";<[email protected]>;
Date:  Fri, Jul 22, 2016 03:03 AM
To:  "??????"<[email protected]>; 
Cc:  "users"<[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