mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-19 10:57:45 +00:00
Make sure to be in the same folder as 'docker-compose.yml' file before pull & up -d
This commit is contained in:
@@ -165,6 +165,7 @@ if [ -n "$GotUpdates" ] ; then
|
|||||||
else
|
else
|
||||||
ComposeFile="$ContPath/$ContConfigFile"
|
ComposeFile="$ContPath/$ContConfigFile"
|
||||||
fi
|
fi
|
||||||
|
cd "$(dirname "${ComposeFile}")"
|
||||||
$DockerBin -f "$ComposeFile" pull "$ContName"
|
$DockerBin -f "$ComposeFile" pull "$ContName"
|
||||||
$DockerBin -f "$ComposeFile" up -d "$ContName"
|
$DockerBin -f "$ComposeFile" up -d "$ContName"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user