tomcat docker container stop and exit after stop tomcat server

Viewed 6070

I am using docker container/image here. After running the docker container, everything is OK. but if I run /usr/local/tomcat/bin# ./catalina.sh stop or /usr/local/tomcat/bin# ./shutdown.sh, the running docker container will stop and exit.

Why? How to change it?

Thanks. Any comment welcomed.

1 Answers
Related