Change in the docker run -version.

`docker run` -version does not update/recreate all containers. Added info to the readme.
This commit is contained in:
mag37 2023-01-30 14:20:21 +01:00 committed by GitHub
parent d4d2406a67
commit acb3dabb9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,7 @@
# dockcheck # dockcheck
### A script checking updates for docker images **without the need of pulling** - then having the option to auto-update either all or selecting specific containers. ### A script checking updates for docker images **without the need of pulling** - then having the option to auto-update either all or selecting specific containers.
With the help of [`regctl`](https://github.com/regclient/regclient). With the help of [`regctl`](https://github.com/regclient/regclient). This is just a concept for inspiration, use with care.
This is just a concept for fun and inspiration, use with care.
___ ___
## Dependencies: ## Dependencies:
@ -74,8 +73,10 @@ No updates installed, exiting
- ~~No granular choice of what to update (except initial name filter).~~ - ~~No granular choice of what to update (except initial name filter).~~
- No detailed error feedback (just skip + list what's skipped) . - No detailed error feedback (just skip + list what's skipped) .
## `dockcheck_docker-run_ver.sh` ## `dockcheck_docker-run_ver.sh` - Wont auto-update the containers, only their images. (compose is recommended)
Alternative version for people who use `docker run` and no composes. Consider that this will restart updated containers without taking into account any other containers relying or depending on said container - might need to restart relating containers afterwards. Alternative version for people who use `docker run` and no composes.
`docker run` dont support using new images just by restarting a container.
Containers need to be stopped, removed and created again to run on the new image.
## `dupc_function.sh` ## `dupc_function.sh`