Docker Community Forums

Share and learn in the Docker community.

Proxy Authentication Required error when fetching image

(Eleco) #1

Running docker v1.8.3 on virtualbox 4.3.30 hosting Linux Mint 17, behind a corporate proxy.

“docker run hello-world” fails with
Unable to find image ‘hello-world:latest’ locally
Pulling repository
Error while pulling image: Get Proxy Authentication Required

However: “curl” runs fine and returns the json.

I double checked that the http_proxy settings in /etc/default/docker were similar to the http_proxy in my shell settings (both include username password).

Can you advise please ?

(Eleco) #2

problem solved by pointing docker to an intermediate cntml proxy.

(Nilsonaguiar) #3

tried the same but got x509 errors :frowning:

(Matthewslee) #4

Docker worked with our NTLM proxy directly by adding the username and password to the URL in the configuration file:

sudo vi /etc/systemd/system/docker.service.d/http-proxy.conf


(Pioneermani) #5

This response is working fine .