Docker Tip: Run Daemon Service In Foreground
Running daemon services in foreground helps for trouble shooting. Also a very useful trick for container environments.
Here is the general practice. And some real examples of popular services, like Apache, MySQL and Jenkins.