Skip to content

Commit 783ae21

Browse files
authored
Update docker API call
Based on the docker issue (moby/moby#26099) the docker api needs to be called with `localhost` in the URL.
1 parent 8d3b188 commit 783ae21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function docker_api {
4343
fi
4444
if [[ $DOCKER_HOST == unix://* ]]; then
4545
curl_opts+=(--unix-socket ${DOCKER_HOST#unix://})
46-
scheme='http:'
46+
scheme='http://localhost'
4747
else
4848
scheme="http://${DOCKER_HOST#*://}"
4949
fi

0 commit comments

Comments
 (0)