
sixeyed/elasticsearchWindows Nano Server image for Elasticsearch. (Dockerfile)
Run in the background to start a containerized Elasticsearch node:
PowerShelldocker run -d -p 9200:9200 -p 9300:9300 --name elasticsearch sixeyed/elasticsearch:nanoserver
Other containers in the Docker network can work with the server using hostname elasticsearch and port 9200.
You can query the Elasticsearch API from the container host using its IP address:
PowerShell$ip = docker inspect -f '{{ .NetworkSettings.Networks.nat.IPAddress }}' elasticsearch iwr "[***]"
Running a container may fail on Windows 10 hosts if they don't have enough RAM. The Hyper-V container doesn't allocate enough memory for the JVM and you'll see an error in the container logs:
Error occurred during initialization of VM Could not reserve enough space for object heap
You can force the memory allocation using the --memory option, on my 8GB Surface I find 3GB is enough to get Elasticsearch running:
docker run -d -p 9200:9200 -p 9300:9300 -m 3GB --name elasticsearch sixeyed/elasticsearch:nanoserver
Windows Server 2016 is fine.



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务