Rancher Healthcheck removes container after initializing

I created a sample container tomcat it works in host_ip:port. host_ip:port/example works fine.
I gave an health check http url ‘/example’ when cloning the same container.

Expectation is that health check should check for /example periodically.
However continaer is not getting to running state. it get removed after initializing state.

Health checks run inside the overlay network and should point to the “private container port”. A container that does not pass health check for longer than “initializing timeout” is deleted and rescheduled.