Hi Chris, This would be better answered by a docker mailing list.
>From what you describe it looks like your container most likely doesn't contain the root certificates. See the following article: https://blog.codeship.com/building-minimal-docker-containers-for-go-applications/ You can also bind mount the cert directory of your host into your container. Regards, Daniel On Monday, June 13, 2016 at 2:26:34 PM UTC-5, Chris Johnson wrote: > > Hi, > > We have a container running a Golang 1.6 based app that tries to perform > an OAuth request against GitHub. We are using the following > > "golang.org/x/oauth2" > "golang.org/x/oauth2/github" > > I get the initial Auth page on GH, I click authorize, and the resulting > callback leads me to a blank page with the following message: > > oauthConf.Exchange() failed with 'Post > https://github.com/login/oauth/access_token: x509: failed to load system > roots and no roots provided' > > > What's happening here? Does the container my app is running in (Ubuntu 14.04) > need it's certs updated? > > > > > Chris > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.