title: Running Docker as non-root user
body: <p>I'm trying to run docker as a non-root user. When I try, I get the following error:</p>
  
  <pre><code>$ docker ps
  FATA[0000] Get http:///var/run/docker.sock/v1.18/containers/json: dial unix /var/run/docker.sock: permission denied. Are you trying to connect to a TLS-enabled daemon without TLS? 
  </code></pre>
  
  <p>I can run docker as root:</p>
  
  <pre><code>$ sudo docker ps
  CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
  [...]
  </code></pre>
  
  <p>I've put this user into a Unix group <code>docker</code>:</p>
  
  <pre><code>$ groups
  domain users docker suappprod stashadmin config_mgmt remote server access sudevmail sudevsvn
  </code></pre>
  
  <p>However, it still appears that this user cannot run most of the docker commands without <em>sudoing</em> as root.</p>
  
  <p>I am on an older version of docker:</p>
  
  <pre><code>$ docker --version
  Docker version 1.6.1, build a8a31ef/1.6.1
  </code></pre>
  
  <p>I know that the latest is 1.10, and it's possible for our company to update all of the docker installs to 1.9.2, but that will take a lot of effort and time.</p>
  
  <p>Is there something else I need to look at? The user has been logged in and out multiple times. I have not rebooted the system yet.</p>