I'm running into a weird situation : today morning I configured a docker-compose.yml file on ubuntu 16.04 everything was ok, later on I tried the same docker configuration on a different PC with ubuntu 16.04 it didn't work.
The elasticsearch image appears and disappears, ports 9200 and 5601 are not occupied
docker-compose.yml :
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2
environment:
- discovery.type=single-node
ports:
- 9200:9200
kibana:
image: docker.elastic.co/kibana/kibana:7.6.2
ports:
- 5601:5601
I tried to change the ports and add ELASTICSEARCH_URL: http://elasticsearch:9200/ nothing worked!!!
[root@localhost ELK]# curl localhost:5601
Kibana server is not ready yet[root@localhost ELK]#