[proxy] Handle null HostConfigs gracefully in start
This commit is contained in:
1 parent
725f99ea4c
commit
c24dc6609d
3 files changed
+6
-2
No files matched your search
+1
-1
@@ -106,7 +106,7 @@ docker_api_on() {
|
||||
data=$4
|
||||
shift 4
|
||||
[ -z "$DEBUG" ] || greyly echo "Docker (API) on $host:$DOCKER_PORT: $method $url" >&2
|
||||
echo -n "$data" | curl -s -X "$method" -H Content-Type:application/json "http://$host:$DOCKER_PORT/v1.15$url" -d @-
|
||||
echo -n "$data" | curl -s -f -X "$method" -H Content-Type:application/json "http://$host:$DOCKER_PORT/v1.15$url" -d @-
|
||||
}
|
||||
|
||||
proxy() {
|
||||
|
||||
Reference in new issue
Block a user