mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-14 23:38:15 +01:00
specify which service to pull and update
This commit is contained in:
parent
72a4ab889c
commit
fb44099b0f
1 changed files with 2 additions and 2 deletions
4
dockcheck.sh
Normal file → Executable file
4
dockcheck.sh
Normal file → Executable file
|
|
@ -136,8 +136,8 @@ if [ -n "$GotUpdates" ] ; then
|
|||
for i in "${SelectedUpdates[@]}"
|
||||
do
|
||||
ContPath=$(docker inspect "$i" --format '{{ index .Config.Labels "com.docker.compose.project.config_files"}}')
|
||||
$DockerBin -f "$ContPath" pull
|
||||
$DockerBin -f "$ContPath" up -d
|
||||
$DockerBin -f "$ContPath" pull "$i"
|
||||
$DockerBin -f "$ContPath" up -d "$i"
|
||||
done
|
||||
else
|
||||
printf "\nNo updates installed, exiting.\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue