title: Docker kill process inside container
body: <p>I exec into Docker container with <code>docker exec -it container-name bash</code></p>
  
  <p>Inside container I run command <code>ps aux | grep processName</code></p>
  
  <p>I receive a PID and after that I run:</p>
  
  <p><code>kill processId</code> but receive:</p>
  
  <p><code>-bash: kill: (21456) - No such process</code></p>
  
  <p>Am I missing something or? I know that Docker shows different process IDs from <code>top</code> command inside the host and <code>ps aux</code> inside the container (<a href="https://stackoverflow.com/questions/27757405/how-to-kill-process-inside-container-docker-top-command">How to kill process inside container? Docker top command</a>), but I am running this from inside container?</p>