mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-15 15:58:13 +01:00
final tweaks for -R option
This commit is contained in:
parent
39706070cd
commit
e0f329cf76
2 changed files with 5 additions and 4 deletions
|
|
@ -22,7 +22,7 @@
|
|||
___
|
||||
## Changelog
|
||||
|
||||
- **v0.7.3**: Bugfix - unquoted variable in printf list caused occasional issues.
|
||||
- **v0.7.3**: Bugfix - unquoted variable in printf list caused occasional issues.
|
||||
- **v0.7.2**:
|
||||
- Label rework:
|
||||
- Moved up label logic to work globally on the current run.
|
||||
|
|
@ -72,6 +72,7 @@ Options:
|
|||
-n No updates, only checking availability.
|
||||
-p Auto-Prune dangling images after update.
|
||||
-r Allow checking for updates/updating images for docker run containers. Won't update the container.
|
||||
-R Skip container recreation after pulling images.
|
||||
-s Include stopped containers in the check. (Logic: docker ps -a).
|
||||
-t N Set a timeout (in seconds) per container for registry checkups, 10 is default.
|
||||
-u Allow automatic self updates - caution as this will pull new code and autorun it.
|
||||
|
|
@ -353,7 +354,7 @@ dockcheck is created and released under the [GNU GPL v3.0](https://www.gnu.org/l
|
|||
:small_orange_diamond: [4ndreasH](https://github.com/4ndreasH)
|
||||
:small_orange_diamond: [markoe01](https://github.com/markoe01)
|
||||
:small_orange_diamond: [mushrowan](https://github.com/mushrowan)
|
||||
:small_orange_diamond:
|
||||
:small_orange_diamond:
|
||||
|
||||
___
|
||||
|
||||
|
|
|
|||
|
|
@ -558,9 +558,9 @@ if [[ -n "${GotUpdates:-}" ]]; then
|
|||
docker pull "$ContImage" || { printf "\n%bDocker error, exiting!%b\n" "$c_red" "$c_reset" ; exit 1; }
|
||||
done
|
||||
printf "\n%bDone pulling updates.%b \n" "$c_green" "$c_reset"
|
||||
|
||||
|
||||
if [[ "$SkipRecreate" == true ]]; then
|
||||
printf "\n%bSkipping container recreation due to -R. \n%bAll done!%b\n" "$c_yellow" "$c_green" "$c_reset"
|
||||
printf "%bSkipping container recreation due to -R. \n" "$c_yellow" "$c_reset"
|
||||
else
|
||||
printf "%bRecreating updated containers.%b\n" "$c_blue" "$c_reset"
|
||||
CurrentQue=0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue