title: How to use the Docker remote API?
body: <p>I installed Docker on Ubuntu 14.04, and it works fine.</p>
  <p>Under <code>etc/default/docker</code> I have this configuration:</p>
  <pre><code># Docker Upstart and SysVinit configuration file
  
  # Customize location of Docker binary (especially for development testing).
  #DOCKER=&quot;/usr/local/bin/docker&quot;
  
  # Use DOCKER_OPTS to modify the daemon startup options.
  #DOCKER_OPTS=&quot;--dns 8.8.8.8 --dns 8.8.4.4&quot;
  DOCKER_OPTS=&quot;-H unix:///var/run/docker.sock&quot;
  
  # If you need Docker to use an HTTP proxy, it can also be specified here.
  #export http_proxy=&quot;http://127.0.0.1:3128/&quot;
  
  # This is also a handy place to tweak where Docker's temporary files go.
  #export TMPDIR=&quot;/mnt/bigdrive/docker-tmp&quot;
  </code></pre>
  <p>I ran <code>docker run hello-world</code> and then under <code>var/run/docker.sock</code> the file is not being written.</p>
  <p>How I can listen from that file in order to use the <a href="https://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/" rel="nofollow noreferrer">remote api</a>?</p>