title: strace to monitor Dockerized application activity
body: <p>My goal is to monitor which ports are opened and closed by a multi-process application.
  My plan is to run the application in a Docker container, in order to isolate it, and then use strace to report the application activity.</p>
  
  <p>I've tried with Apache server dockerized :</p>
  
  <pre><code>strace -f -o /tmp/docker.out docker run -D -P apache
  </code></pre>
  
  <p>I don't see any line in the report file that shows that the application accept a connection in a socket.</p>
  
  <p>Can strace report the activity of processes inside the container?</p>