I am running the Elastic Search Image from the docker repository, on a MacOS Sierra, following this guide here
It advises me to use the following command to start it up
docker run -p 9200:9200 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" --network=host docker.elastic.co/elasticsearch/elasticsearch:5.2.0
However as soon as it's up, it gets killed.
I tried going starting it inside the container to see if there were any clues by using the following command:
docker run -it -p 9200:9200 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" --network=host docker.elastic.co/elasticsearch/elasticsearch:5.2.0 bash
But the only message that pops up is the "Killed" message.
Am I doing something terribly wrong?
Thanks