specify which service to pull and update
This commit is contained in:
parent
72a4ab889c
commit
fb44099b0f
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…
Reference in New Issue
Block a user