||1 year ago|
|.git-assets||1 year ago|
|build||1 year ago|
|restart||1 year ago|
|.gitignore||1 year ago|
|README.md||1 year ago|
|services-example.json||1 year ago|
|update-images.py||1 year ago|
Script to update Docker images easily.
- Checks image updates with DockerHub's API (without pulling)
- Pulls new versions automatically from DockerHub
- Rebuilds child images (and their children, and so on)
- Automatically deletes old images
- Automatically restarts updated services
- All information concerning images are written in
- 250 lines of Python (including ~20% of comments), easy to read
Alpha stage, but used in production on 42l's servers.
Might receive some updates from time to time (see Issues).
How to use
Find a guide here: https://git.42l.fr/42l/docker-update-images/wiki/How-to-use
Want to test it right away without reading the documentation? Alright, here you go:
git clone https://git.42l.fr/42l/docker-update-images
mv services-example.json services.json
More information on the above guide.
Here's a drawio diagram representing the script's algorithm. It's not very up-to-date, but it should be enough for you to have an idea of how the script operates.
You can find and edit the diagram in the
This script is licensed under the Mozilla Public License 2.0.