Restart Tomcat in a Container

I have a container, which has Tomcat and Apache running all in the same container/image. Now, my Jenkins build should send a command to the container and trigger Tomcat to either stop/start or restart.

What is the best approach to do so? Jenkins is outside the container…

Thanks!

Hello @daribo

Please I need to know how you did that !

Thank you