为了Skywalking 准备
elasticsearch 至少 需要2G内存
docker pull elasticsearch:7.9.3 docker run --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -v /opt/elasticsearch/logs:/usr/share/elasticsearch/logs -d elasticsearch:7.9.3
注:Linux 主机目录 /opt/elasticsearch/ 要设权限,否则会启不来
如果启不来,通过下列命令查看日志
docker logs --since 30m elasticsearch docker logs --tail=100 -f elasticsearch