title: Docker: Are you trying to connect to a TLS-enabled daemon without TLS?
body: <p>On Linux Mint 17.1 x86_64 with kernel 3.13.0-48-generic and OpenSSL version 1.0.1f-1ubuntu2.11; whenever I try to execute any docker command (like <code>docker login</code> or <code>docker run hello-world</code>), I get the following error:</p>
  
  <pre><code>FATA[0000] Get http:///var/run/docker.sock/v1.18/info: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? 
  </code></pre>
  
  <p>I have made a group called <code>docker</code> using <code>sudo usermod -aG docker username</code>, I have tried running the commands both as root and normally, added <code>$(boot2docker shellinit 2&gt; /dev/null)</code> to <code>~/.profile</code> as instructed <a href="https://stackoverflow.com/questions/27528337/am-i-trying-to-connect-to-a-tls-enabled-daemon-without-tls">here</a>, <a href="https://stackoverflow.com/questions/29349112/var-run-docker-sock-no-such-file-or-directory-are-you-trying-to-connect-to-a">restarted my PC</a> and reinstalled OpenSSL.</p>
  
  <p>Any idea what am I missing? Can this be a hardware issue?</p>