标签:完整 拉取 arc png 节点 alt 报错 挂载 构建
sudo docker pull elasticsearch:7.6.0
sudo docker run --name es1 -e ‘discovery.type=single-node‘ --network=mynetwork --ip 172.18.0.4 -v $PWD/data:/usr/share/elasticsearch/data -v $PWD/config:/usr/share/elasticsearch/config -p 9200:9200 -p 9300:9300 -d elasticsearch:7.6.0
注:$PWD当前命令行当前目录
报错:
docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.6.0
docker cp elasticsearch:/usr/share/elasticsearch/config $PWD/
docker run --name elasticsearch -v $PWD/config:/usr/share/elasticsearch/config -v $PWD/data/:/usr/share/elasticsearch/data -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" --privileged=true -d elasticsearch:7.6.0
Docker部署ELK之部署elasticsearch7.6.0(1)
标签:完整 拉取 arc png 节点 alt 报错 挂载 构建
原文地址:https://www.cnblogs.com/kunwn/p/14538803.html