Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

401
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda