docker-compose error
d1studio opened this issue · 1 comments
version: '2'
services:
elasticsearch-master:
image: elasticsearch:5
elasticsearch-node1:
image: elasticsearch:5
error:
Creating network "elasticsearchdocker_default" with the default driver
Creating elasticsearchdocker_elasticsearch-node1_1 ...
Creating elasticsearchdocker_elasticsearch-master_1 ...
Creating elasticsearchdocker_elasticsearch-node1_1
Creating elasticsearchdocker_elasticsearch-master_1 ... done
Attaching to elasticsearchdocker_elasticsearch-node1_1, elasticsearchdocker_elasticsearch-master_1
elasticsearchdocker_elasticsearch-node1_1 exited with code 137
This image is officially deprecated in favor of upstream's images (see https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html).
For more information, please see #160, docker-library/docs#842, and docker-library/docs#945.
This image has been deprecated in favor of the official
elasticsearch
image provided and maintained by elastic.co. The upstream images are available to pull viadocker.elastic.co/elasticsearch/elasticsearch:[version]
like5.4.2
. The images found here will receive no further updates once the5.6.0
release is available upstream. Please adjust your usage accordingly.Elastic provides open-source support for Elasticsearch via the elastic/elasticsearch GitHub repository and the Docker image via the elastic/elasticsearch-docker GitHub repository, as well as community support via its forums.
Thanks!