Fixed a bug, the command expects the service name in the file.
This commit is contained in:
parent
fb44099b0f
commit
8f37417eab
@ -136,8 +136,9 @@ if [ -n "$GotUpdates" ] ; then
|
|||||||
for i in "${SelectedUpdates[@]}"
|
for i in "${SelectedUpdates[@]}"
|
||||||
do
|
do
|
||||||
ContPath=$(docker inspect "$i" --format '{{ index .Config.Labels "com.docker.compose.project.config_files" }}')
|
ContPath=$(docker inspect "$i" --format '{{ index .Config.Labels "com.docker.compose.project.config_files" }}')
|
||||||
$DockerBin -f "$ContPath" pull "$i"
|
ContName=$(docker inspect "$i" --format '{{ index .Config.Labels "com.docker.compose.service" }}')
|
||||||
$DockerBin -f "$ContPath" up -d "$i"
|
$DockerBin -f "$ContPath" pull "$ContName"
|
||||||
|
$DockerBin -f "$ContPath" up -d "$ContName"
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
printf "\nNo updates installed, exiting.\n"
|
printf "\nNo updates installed, exiting.\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user