How to provide access to internet from nodejs docker container

May 17, 2018 919 views
Ubuntu Docker

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 ?


Be the first one to answer this question.

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