Proxy Authentication Required error when fetching image

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 ?

problem solved by pointing docker to an intermediate cntml proxy.

tried the same but got x509 errors :frowning:

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


This response is working fine .

on Windows, password must be URI-encoded

1 Like