How to log all the processes running inside a Docker container?
<p>After having logged into the container using the command -</p>
<pre><code>docker exec -it &lt;container_name&gt;
</code></pre>
<p>How do I check for all the processes running inside the container? Is &quot;ps aux&quot; the correct way to do it? Are there any better alternatives/approaches?</p>