Automated Updates with Watchtower and Formable

Automated Updates with Watchtower and Formable
Photo by Dimitri Bong / Unsplash

Docker lets your run a Watchtower container that runs updates daily on any new container images. So that part is a no brainer.

Formable's Watchtower docker-compose.yml

version: "3"
  services:
    watchtower:
      image: containrrr/watchtower
      restart: always
      volumes:
        - /var/run/docker.sock:/var/run/docker.sock
We make sure backups are setup with your cloud provider so we can restore the entire instance quickly.

Formable also configures Ubuntu for automatic updates and checks in on Ubuntu and Portainer regularly.

We also setup a cron job to cleanup any detached docker volumes nightly with:

docker image prune --force

Mastodon