doup is a command line tool to find and update Docker-Image-Strings in project files.
Project description
🚀 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file doup-4.0.1.tar.gz
.
File metadata
- Download URL: doup-4.0.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd9ebb3bd76ed4a048875da3356424ac5c055bcba89c0b0f2d24c82b342fa77c |
|
MD5 | ea51f2687128ea6492daa38ec52742ca |
|
BLAKE2b-256 | 59ed74ebfba202b954f3be6b19cc3c61d2adc8ed51d144ee6489b23a9317045a |
File details
Details for the file doup-4.0.1-py3-none-any.whl
.
File metadata
- Download URL: doup-4.0.1-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55eb495c72b40b1cc037fd0866b78d4170b1dc8962f5c6af921e7efdb2172725 |
|
MD5 | ecf1e8b184308ea23a7b2e81d679fb08 |
|
BLAKE2b-256 | 15359fd2b616c3dcc618764f02a0e390ea85b85be484c8dcff7306b8ad1c0e09 |