When I run docker on the local machine it works, but the networks config is probably bad, I am behind a corporate proxy. Tried putting the export commands in .bashrc .proxy init.d/docker and default/docker, any help would be very gratefully received.
Turned on debug and listening on port 2376, restarted the daemon saw the message below.
root@XM647:~# docker ps -l
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
I have had this setup running at one time just by following instructions on the install ubuntu14.04 page. The problem I have is there appears to be multiple install pages for docker on this system, either that or I am seeing things and there are multiple entry points leading to one page.
I fixed my problem by putting my proxy information in the /etc/default/docker file. Restart docker and I am now pulling what ever I need. These proxy’s where declared as environmental variables and the command “echo $http_proxy” would then display the string. all this file does is repeat what was done in the proxy script. Which begs the uestion is docker reading the env variables or pulling from the docker file. I think I know the answer the question was rhetorical.