Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to provide access to internet from nodejs docker container
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 ?