title: Docker Processes Shown on Host Process List
body: <p>I was setting up a Selenium server using docker, basically following <a href="https://github.com/lzhang/docker-selenium" rel="noreferrer">this</a> github tutorial.</p>
  
  <p>I have no problem setting up the server, but I noticed that the processes that I started inside the docker image actually got shown up on my host process list. </p>
  
  <p><img src="https://i.stack.imgur.com/WMajA.jpg" alt="enter image description here"></p>
  
  <p>As you can see in the screen shot, the docker ran a bash script and also executed a jar file, which I assume should only happen inside the box. Does this mean the user from the host could possibly kill a certain process outside the container which will totally screw up the world inside the box?</p>
  
  <p>When I stopped the container, all the processes went away as I expected. </p>
  
  <p>Is this the way Docker is designed for.. and the flawed isolation is what you have to accept in trade for the lightweight comparing with Virtualbox/Vagrant...
  or I am doing anything wrong?</p>
  
  <p>Thanks!</p>