title: Docker exec runs command on host machine instead of container
body: <p>I have docker (Docker version 1.3.1, build 4e9bbfa) running on virtual machine.
  I have created some containers that has supervisor running to allow sshd and apache running.</p>
  
  <p>Right now in order to do some changed i have to log in to ssh and run sh script, I tried exec command, but it seems not working on that server.</p>
  
  <p>What i did to examine a problem: created file named host.txt in root (/) folder of host (where docker daemon is running) and executed</p>
  
  <pre><code>docker exec {container name} ls /
  </code></pre>
  
  <p>and it gave me list where host.txt present (Not that I have not mounted / into containers / (i even dont know if its possible))</p>
  
  <p>I made exact same container on exact same docker version and executed same test on my ubuntu 14.04 machine, and it works as expected (no host.txt in list) </p>
  
  <p>Any ideas why this might be happening?</p>