我想在docker中启动monit进程。由于它被守护进程,一旦monit启动,容器就会完成。将它作为前台进程运行的最佳方法是什么。
答案 0 :(得分:0)
来自https://wiki.gentoo.org/wiki/Monit:
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