bfirsh/serverless-docker

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

Opened this issue · 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.