How to fix ctrl+c inside a docker container
<p>If I connect to a docker container</p>

<pre><code>$&gt; docker exec -it my_container zsh
</code></pre>

<p>and inside it I want to kill something I started with <code>ctrl+c</code> I noticed that it takes forever to complete. I've googled around and it seems that <code>ctrl+c</code> works a bit different than you would expect. My question, how can I fix <code>ctrl+c</code> inside a container ?</p>