Podhawk allows you to keep image and container up-to-date
You need to execute Podhawk with same user running containers.
- list containers and keep actually running in variable
- list images (name and tag)
- pull all images
- recreate containers using new images
- Podman in your $PATH
- Python 3.5+ (stdlib only)
I use run
from subprocess
and it's available from Python 3.5
- PEP8 and complexity tested via
flake8 --max-complexity 3
- hard typed, no black magic for arguments and variables
- a little inspired by functional programming about how I wrote function