I'm trying to access an external URL from within my Docker Container running on an AWS EC2 Instance.
Though I'm able to CURL from the EC2 Instance - the same CURL doesn't work from within the Docker container. Essentially this CURL works in the EC2 Instance but NOT within the Docker Container. Why would that be?
Dockerfile:
FROM docker.elastic.co/kibana/kibana:6.5.0
ENV ELASTICSEARCH_URL=https://elasticsearch.myorg.com
EXPOSE 5601
CMD ["/usr/local/bin/kibana-docker"]