mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-19 02:47:45 +00:00
specify which service to pull and update
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user