I would like containers in one of my docker stack services to automatically be refreshed every hour.
I start with 3 instances, and every hour I would like them to be replaced with new instances one at a time, serially.
Is there a way to achieve this with docker-compose
? Or alternatively with a cron
job?
Thanks!