How to start railo service on background

Hello,
My name Trang,
I have created Docker image on https://registry.hub.docker.com/u/trangunghoa/railo-mysql/
It is run ok.
Now I created Dockerfile but I can’t start automatic Railo service. Please help me.
I have start by some commands at shell script:

exec /opt/railo/railo_ctl start
exec /opt/railo/railo_ctl start -D FOREGROUND
service railo_ctl restart
exec service railo_ctl restart

No command it work.

you need to start from some sane base image, by default nothing is installed.

can you provide for me, how to start railo service, please? I must use Dockerfile.

I have pushed my Dockerfile in https://github.com/trangunghoa/railo-docker.
Can you help me to detect the problem?

What I normally do to work out startup issues, is to start the container with bash, then run the Docker CMD by hand, and then look at the logs just like I would a non containerized system.

Thanks for Sven. I have resolved this problem. this prblem resolve by supervisor.

Can you tell us what you did to resolve it? (for future readers of the forum) :slight_smile:

Please looking for http://stackoverflow.com/questions/25427239/how-to-start-railo-service-in-background-on-the-docker.