My current project requires me to use elasticsearch:2.4.6-alpine
docker image. The container seems running correctly and I am able to go inside the container using CLI. But when curl http://localhost:9200
executed it says:
curl: (52) Empty reply from server
Tried the same curl command from inside the container and it says:
curl: (7) Failed to connect to localhost port 9200: Connection refused
The elasticsearch service seems not exists when I use rc-status list
from inside the container. Anyone have any idea?