title: How to kill container generated by docker-compose?
body: <p>(sorry using the term "kill" with quotes is not about <code>docker-compose kill</code>, is about "UNIX <code>ps</code> kill" after what the process really go out of the "UNIX <code>ps</code> list")</p>
  
  <hr>
  
  <p>Usual <code>docker run</code> can be "killed" by usual <code>docker stop</code>, because after stop I not see the container at <code>docker ps -a</code>... If it is correct, there are a semantic bug with <code>docker-compose</code>  because I can't "kill" the containers, they stay at <code>docker ps</code>. </p>
  
  <p>After my simple <code>docker-compose up</code> (without <code>&amp;</code>) I do <code>^C</code>  and the containers stay there at <code>docker ps -a</code>... Impossible to kill by <code>docker compose stop</code>.</p>
  
  <hr>
  
  <p>NOTE: when I use ordinary <code>docker run</code> and after it <code>docker stop</code> there are nothing at <code>docker ps -a</code>, so I can say "I killed it".</p>