I am trying to install use docker as one of my applications depends on it. I followed the installation instructions for the latest docker from here for Ubuntu 14.04. After the installation, I performed the test as mentioned in the website

sudo docker run -i -t ubuntu /bin/bash

I get the following error:

Unable to find image 'ubuntu:latest' locally
        Pulling repository ubuntu
        FATA[0035] Get https://index.docker.io/v1/repositories/library/ubuntu/images:          dial tcp connection refused

Does this mean the docker is not functioning properly? Can you please tell me how I can fix this, if that's the case?


You have to enable http_proxy and https_proxy environment variables in /etc/default/docker (setting your proxy IP and port). The example below is looking for local cntlm doing proxy authentication:

export http_proxy=""
export https_proxy=""
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.