Updating your docker containers the easy way.
Pullio is a bash script that you execute with cron, jobber, a systemd timer or any other way that you prefer, it then does a
docker-compose pull for all the containers configured to have notifications or updates enabled. It then checks if there's an update available and takes action according to your configuration. As you might have already guessed it, this script relies on docker-compose to do the heavy lifting and thus is only compatible with docker-compose managed containers.
- Discord notifications (see below for preview)
- No notifications if you leave the webhook out, it'll run as an updater and script executer
- Detailed info about what has changed for images that follow the Opencontainers Annotation Keys
- Execute script before sending notification
- Execute script before updating container, after container is stopped
- Private registries
--tagyou can use seperate configs for hourly "Update available" notifications and on a daily schedule actually apply the updates
Now execute it however and whenever you want.
You configure the script its behaviour by adding one or more of the following labels to your
docker-compose.yml for every container you want. Adding no discord webhook will disable the notifications.
1 2 3 4 5 6 7 8 9 10
--tag mytag, would let you do the following.
1 2 3 4
If you need to provide credentials for a Private Registry, this file's content needs to be as shown below.
1 2 3 4 5
It can be frustrating to test the script if no docker image updates are available, for that you can do
./pullio.sh --debug and the script will behave as if an update is available.