Report this

What is the reason for this report?

How to provide access to internet from nodejs docker container

Posted on May 17, 2018

Hi, I have a nodejs docker containers running on Docker one click app ubuntu container. I have configured Traefik proxy to route HTTPS traffic. I now wish to connect using nodejs Elasticsearch.js library to hosted ES instance on ObjectRocket. I am not able to connect as it throws authentication error at elasticsearch.js.

I think the issue is with docker nodejs route not able to reach to ES instance on ObjectRocket as outbound https is not permitted by Docker container.

How should I resolve this issue ?

Cheers, Vinayak



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.