This is an old revision of the document!
Usando Docker a través de un Proxy
IMPORTANTE: Los sitios hub.docker.com y los registros están bloqueados para Cuba por Estados Unidos debido al bloqueo. Se debe crear un tunel o una vpn para evitar esta limitación. Esta ayuda asume que eso ya está hecho para los sitios: hub.docker.com, registry.hub.docker.com, registry-1.docker.io, index.docker.io y auth.docker.io. Algunos de ellos responden a varias direcciones IPs.
Docker uses the HTTP_PROXY environment variable if present, for example:
HTTP_PROXY=http://192.168.1.1:3128/ docker pull busybox
But instead, I suggest you have a look at your /etc/default/docker configuration file : you should have a line to uncomment (and maybe adjust) to get your proxy settings applied automatically.
# If you need Docker to use an HTTP proxy, it can also be specified here. #export http_proxy="http://127.0.0.1:3128/"
Then restart the Docker server:
service docker restart