Skip to main content

doup is a command line tool to find and update Docker-Image-Strings in project files.

Project description

doup

Doup is a command line tool to find and update Docker-Image-Strings in project files.

Why you should consider using doup

The version of docker images should not set to latest to avoid incompatibility and upgrade nightmares. But containers should also be upgraded regulary to get new features and fixes of security issues.

So you have to check for each container individually if a new version is published on dockerhub. doup can save you a lot of time and is doing this task for you.

Example

example-image

Prepare your project for doup

Each Docker-Image-String has to be marked in the previous line:

# doup:bullseye:prod
haproxy_docker_image: haproxy:2.6.2-bullseye
  • doup: doup is looking for lines which contains doup:*
  • bullseye: is the container tag on dockerhub which is used to get the newest version
  • prod (optional): add this Docker-Image-String to a specific group

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

  • improve the console output and/or add a verbose options which shows the filenames
    • print the filename in which the Docker-Image-String was found
    • in dry-run mode: print that no changes were made
  • alert the user if a new major version of a container was released
  • add command: doup list groups
  • add command: doup list images
    • list marked Docker-Image-Strings
  • add command:doup find images
    • finds not marked Docker-Image-Strings

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

doup-1.0.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

doup-1.0.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file doup-1.0.1.tar.gz.

File metadata

  • Download URL: doup-1.0.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for doup-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f364c0815391a4b190a52347631980d7db69dbcbdd05300b2ba6a2a56816b3b1
MD5 5aa2bd63aed51ef4054cdcc73106a36a
BLAKE2b-256 f7e36d9ddecdf2dc29bd173cda39ee6757b51147ec5b6b3dba3037f9f40cec21

See more details on using hashes here.

Provenance

File details

Details for the file doup-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: doup-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for doup-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dac900430c279ce387b66e117efce0c6ae74f6b2e97cfa1af019d799f44ebdc1
MD5 cace93a7b99514adc5636cdd8afea043
BLAKE2b-256 9de8464d30fd82fb293812ecef031e77fda95da86091a2293f82940bd6fb0c9c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page