I’m working on a system powered by CoreOS and specifically this tutorial on Running Containers. However, I was wondering if anyone had a good approach to keeping an image up to date (e.g. my project is running in a container image and I’m deploying multiple times per day). My first initial approach/thoughts seem like they might be overkill.
- When the service starts, we can use the
ExecStartPre
option to pull the image (e.g.myimage:production
- Run another service that checks if the image is the latest and restarts the service (seems like there would be some downtime which is not ideal)
Anyone had to do something similar and/or maybe have a better approach?