We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c835949 commit aee5334Copy full SHA for aee5334
1 file changed
root/app/update-mods.sh
@@ -6,9 +6,8 @@ find_docker_mods() {
6
if [[ "${2}" != "default" ]]; then
7
docker context create "${2}" --docker "host=${1}" >/dev/null 2>&1
8
fi
9
- docker --context "${2}" ps -q >/dev/null 2>&1 || DOCKER_MOD_CONTEXT_FAIL=true
+ docker --context "${2}" ps -q >/dev/null 2>&1 || local DOCKER_MOD_CONTEXT_FAIL=true
10
if [[ "${DOCKER_MOD_CONTEXT_FAIL}" == "true" ]]; then
11
- unset DOCKER_MOD_CONTEXT_FAIL
12
echo "[mod-init] (ERROR) Cannot connect to the Docker daemon at ${2}, skipping host"
13
return
14
0 commit comments