serverless-docker icon indicating copy to clipboard operation
serverless-docker copied to clipboard

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

Open blackduck-joe opened this issue 9 years ago • 0 comments

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.

blackduck-joe avatar Oct 28 '16 14:10 blackduck-joe