0

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 162.242.195.84:443: 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?

2

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="http://127.0.0.1:3128/"
export https_proxy="http://127.0.0.1:3128/"
| 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.