Hacker News new | ask | show | jobs
by cupcakestand 3258 days ago
> Stuff like this is why I base my docker images off Ubuntu or Debian and regularly rebuild them.

How can a server running Docker rebuild itself a new image and deploy it? Without your intervention. With cron?

1 comments

I do it the "old fashioned" way. Manually build the images on the laptop, increment the version prior to pushing it to Nexus, and then increment the version in DC/OS.

Reminds me, I actually could automate this using Jenkins, it has an interface to Marathon (which backs DC/OS)...

If you want to automate it just use unattended upgrades for security updates within the container.
This works for sure but is ephemeral - when you have to restart the container for unrelated reasons, the upgrades are lost.