I have a container that is designed to run, do some stuff, then exit. Rancher seems to be trying to restart it forever.
I’m trying to use rancher-compose with minimal changes to the docker-compose files. Is there a flag or label I can set to tell rancher not to restart this container? Or better, only restart it if it exits with non-zero.