Is there a way to run multiple daemons in same container ? I’d like to run crond, apache and postfix
in the same container but for example when I try to launch crond using RUN crond, it doesn’t start. For apache no problem because de last action in my dockerfile is the CMD to launch httpd.
Be sure to run crond with the -n flag so it runs in the foreground. All processes inside a container must run in the foreground otherwise they will exit.