Use of HostConfig within cgi.Handler not supported in Docker 1.12.x+

#6 · open · 0 comments

View on GitHub ↗

blackduck-joe

The routing used in entrypoint/main.go generally looks like: `http.Handle("/vote/", &dcgi.Handler{ Image: "noteoj/serverless-vote", Client: cli, HostConfig: hostConfig, Root: "/vote", // strip /vote from all URLs }) ` When run under Docker 1.12+ this results in some type of 'HostConfig no longer supported' error.

Comments