我想在docker中启动监控程序。自从它被守护之后,容器就在monit启动后就完成了。将其作为前台进程运行的最佳方法是什么。
最佳答案
从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
关于docker - 在docker中启动monit作为前台进程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48225106/