🚀 doup
A command line tool to find and update dockertags in project files.
Why you should use doup
The version of docker images should not set to latest to avoid upgrade nightmares and ensure the stability of your environment.
But containers should also be upgraded regulary to get new features and fixes of security issues.
You have to check for each container individually if a new version is published or not.
doup can save you a lot of time and is taking this task from you.
Example
~/dev/repos/best_repo_ever (main)
> doup --dry-run .
Finished in 20 seconds.
Searched in 11547 files and found 17 managed docker images.
| Filename | Repository | Tag | Next | hasMajorVersionUpdate |
|-------------------|------------------------------|----------------------------|---------------------------|-------------------------|
| all/vars.yml | plantuml/plantuml-server | jetty-v1.2022.14 | jetty-v1.2023.0 | False |
| all/vars.yml | louislam/uptime-kuma | 1.19.2-alpine | 1.19.4-alpine | False |
| all/jellyfin.yml | jellyfin/jellyfin | 20221230.11-unstable-amd64 | 20230114.9-unstable-amd64 | False |
| all/container.yml | homeassistant/home-assistant | 2023.1.1 | 2023.1.4 | False |
Prepare your project for doup
Each dockerimage has to be marked in the previous line:
# doup:latest
haproxy_docker_image: haproxy:2.6.2-bullseye
doup: doup is looking for lines which containsdoup:*latest: the tag on dockerhub which is used to get the latest concrete tag
QuickSetup
doup is published on PyPi and can be installed with pip install doup.
Afterwards you should mark some Docker-Version-Strings in your project and run doup --dry-run.
Incoming features
- add output: release date of docker image
- add command:
doup list images- list marked dockertags
- add command:
doup find images- finds not marked dockertags
Metadata
Release files for doup 4.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| doup-4.0.1.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| doup-4.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.5 kB
Release files / doup-4.0.1.tar.gz
| Download URL | doup-4.0.1.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd9ebb3bd76ed4a048875da3356424ac5c055bcba89c0b0f2d24c82b342fa77c
|
|
BLAKE2b-256 checksum How to use checksums |
59ed74ebfba202b954f3be6b19cc3c61d2adc8ed51d144ee6489b23a9317045a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / doup-4.0.1-py3-none-any.whl
| Download URL | doup-4.0.1-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55eb495c72b40b1cc037fd0866b78d4170b1dc8962f5c6af921e7efdb2172725
|
|
BLAKE2b-256 checksum How to use checksums |
15359fd2b616c3dcc618764f02a0e390ea85b85be484c8dcff7306b8ad1c0e09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|