I have the following Dockerfile:
FROM docker.elastic.co/elasticsearch/elasticsearch:5.4.0
RUN elasticsearch
EXPOSE 80
I think the 3rd line is never reached.
When I try to access the dockercontainer from my local machine through: 172.17.0.2:9300
I get nothing, what am I missing? I want to access elasticsearch from the local host machine.