Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

403
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda