docker-es
- 镜像地址
https://hub.docker.com/_/elasticsearch/ docker pull elasticsearch
这个版本是dockerhub最新,官方最新版:https://www.elastic.co/cn/ -
启动脚本
version: '3.1' services: elasticsearch: image: elasticsearch ports: - 9200:9200 - 9300:9300 kibana: image: kibana ports: - 5601:5601
docker-compose -f stack.yml up