mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-01 21:37:20 +02:00
Start stopped containers (when -s is used) so that updates apply
This commit is contained in:
parent
d46b38ddad
commit
d9c816b4c0
1 changed files with 1 additions and 2 deletions
|
|
@ -671,8 +671,7 @@ if [[ -n "${GotUpdates:-}" ]]; then
|
|||
if [[ "$ContStateRunning" == "true" ]]; then
|
||||
printf "\n%bNow recreating (%s/%s): %b%s%b\n" "$c_teal" "$CurrentQue" "$NumberofUpdates" "$c_blue" "$i" "$c_reset"
|
||||
else
|
||||
printf "\n%bSkipping recreation of %b%s%b as it's not running.%b\n" "$c_yellow" "$c_blue" "$i" "$c_yellow" "$c_reset"
|
||||
continue
|
||||
printf "\n%bStarting %b%s%b to apply update.%b\n" "$c_yellow" "$c_blue" "$i" "$c_yellow" "$c_reset"
|
||||
fi
|
||||
|
||||
# Checking if compose-values are empty - hence started with docker run
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue