[Container-tools] [openshift-sme] CDK and corporate proxy

Christian Posta cposta at redhat.com
Mon Feb 22 16:22:41 UTC 2016


Can you try the proxy plugin?

Vagrant.configure("2") do |config|

  if Vagrant.has_plugin?("vagrant-proxyconf")

    config.proxy.http     = "http://us_proxy_foo:9000/
<http://us_proxy_indy.xh1.lilly.com:9000/>"

    config.proxy.https    = "http://us_proxy_foo:9000/
<http://us_proxy_indy.xh1.lilly.com:9000/>"

    config.proxy.no_proxy = "localhost,127.0.0.1,.foo.com
<http://lilly.com/>"

  end

end

On Mon, Feb 22, 2016 at 6:31 AM, Mohamed Hamza Ben Mansour <
mbenmans at redhat.com> wrote:

> Hi,
>
> I have a customer very intrested in running CDK on its windows boxes.
> While trying to run the Openshift flavoured Vagrantfile we encountred
> several problmes due to their corporate proxy. We used a Vagarant proxy
> plugin which configured docker and the host. We also added proxy
> information as env vars to the docker run instruction launching OSE.
> Nevertheless, we had another problem while pushing to the OSE registry :
> the proxy was denying it. Can you please advice on the best
> solution/configuration to adopt.
>
> Kind regards
>
> Have a question?
> First, check the FAQ: https://mojo.redhat.com/docs/DOC-943081
> Next, check the archives:
> http://post-office.corp.redhat.com/archives/openshift-sme/
>



-- 
*Christian Posta *
Principal Middleware Architect
twitter: @christianposta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/container-tools/attachments/20160222/12957d50/attachment.htm>


More information about the Container-tools mailing list