<p>I want to start monit process in docker.</p>
<p>Since its getting daemonized, the container is getting completed once monit starts. What is the best way to run it as a foreground process?</p>

Daniel Sagayaraj
<p>From <a href="https://wiki.gentoo.org/wiki/Monit" rel="nofollow noreferrer">https://wiki.gentoo.org/wiki/Monit</a>:</p>

<pre><code>Running monit in the foreground
To run monit in the foreground and provide feedback on everything it is detecting, use the -Ivv option:

root #monit -Ivv
</code></pre>
