Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

400
Views
How to configure proxy server on Windows running inside Docker?

I'm running Docker on Windows Server 2019 and within Docker I run servercore:ltsc2019. But I fail to configure the proxy server correctly.

The host and the docker daemon are configured to use a proxy server. I can pull the image and run it, however, the running container seems to not using the proxy server.

I can ping internal and external hosts. Also I can download from internal servers: (New-Object System.Net.WebClient).DownloadString('http://a.server.lokal'). But if I try external addresses, I get an exception:

Exception calling "DownloadString" with "1" argument(s): "Unable to connect to the remote server"

I have already tried to set the proxy server using:

netsh winhttp set proxy "http://<ip>:<port>"

and also:

$rkey="HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
Set-ItemProperty -path $rkey ProxyEnable -value 1
Set-ItemProperty -path $rkey ProxyServer -value "http://<ip>:<port>"

But that didn't help either.

So how can I configure the proxy server?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!