I’ve an app I want to put on docker cloud that needs some task containers for things like TLS certificate renewal or backups. When trying my container for TLS (using Let’s Encrypt client certbot), the container does it’s job then stops, but is still seen as running in Docker Cloud console, and it’s service marked as Running too. Docker Cloud seems to see that my container/service is stopped only if I enable ‘autodestroy’. Is there any reason for that ?
I want to have a cron container for scheduling those task containers, but they need to be properly stopped after their work for the cron container to be able to make api calls to start them again when needed.
Thanks for any help