title: can't restart docker after resetting the docker socker using docker -H tcp://0.0.0.0:2375
body: <p>I want to open the docker on a port, so I used this command : </p>
  
  <pre><code>service docker stop
  docker -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock -d &amp;  
  
  INFO[0000] +job init_networkdriver()                    
  INFO[0000] Listening for HTTP on tcp (0.0.0.0:2375)     
  INFO[0000] /!\ DON'T BIND ON ANOTHER IP ADDRESS THAN 127.0.0.1 IF YOU DON'T KNOW WHAT YOU'RE DOING /!\ 
  INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) 
  INFO[0000] -job init_networkdriver() = OK (0)           
  INFO[0000] Loading containers: start.                   
  ................
  INFO[0000] Loading containers: done.                    
  INFO[0000] docker daemon: 1.4.1 5bc2ff8; execdriver: native-0.2; graphdriver: aufs 
  INFO[0000] +job acceptconnections()                     
  INFO[0000] -job acceptconnections() = OK (0)  
  
  
  service docker start
  </code></pre>
  
  <p>The first time it works, the port is open from 2375. </p>
  
  <p>but now after using this command to open the port 2375 on the docker, docker can't open again using <code>service docker start</code>, the docker always stays in the status of stop. </p>
  
  <p>I used <code>netstat -pna | 2375</code>, there is no program listening to 2375</p>
  
  <p>anyone knows why I can't restart docker</p>
  
  <hr>
  
  <h2>Update</h2>
  
  <p>I followed the advice to update the /etc/default/docker config,here is the update.</p>
  
  <pre><code>DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4 -H :2375"
  </code></pre>
  
  <p>then I restart the docker by <code>service docker restart</code> , it seems to be working because <code>service docker status</code> shows to be running, I thought it should take effect now. but when I used <code>docker images &amp; docker ps -a</code>, it shows </p>
  
  <blockquote>
    <p>FATA[0000] Get <a href="http:///var/run/docker.sock/v1.16/images/json" rel="nofollow">http:///var/run/docker.sock/v1.16/images/json</a>: dial
    unix /var/run/docker.sock: no such file or directory. Are you trying
    to connect to a TLS-enabled daemon without TLS?</p>
  </blockquote>
  
  <p>when I go back to the docker config, remove the part '-H :2375' in the  DOCKER_OPTS, restart the docker, and it works well again. any ideas  </p>