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 docker.io/library/hello-world
Error while pulling image: Get https://index.docker.io/v1/repositories/library/hello-world/images: Proxy Authentication Required

However: “curl https://index.docker.io/v1/repositories/library/hello-world/images” 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

[Service]
Environment="HTTP_PROXY=http://username:password@proxy.ourcompany.com:8080/"

This response is working fine .

on Windows, password must be URI-encoded