
dperson/elasticsearch: -h This help -t "" Configure timezone possible arg: "[timezone]" - zoneinfo timezone for container The 'command' (if provided and valid) will be run instead of elasticsearch
ENVIRONMENT VARIABLES
TZ - As above, configure the zoneinfo timezone, IE EST5EDTUSERID - Set the UID for the app userGROUPID - Set the GID for the app userAny of the commands can be run at creation with docker run or later with
docker exec -it elasticsearch elasticsearch.sh (as of version 1.3 of docker).
sudo docker run -it -p 9200:9200 -p 9300:9300 -d dperson/elasticsearch \ -t EST5EDT
OR using environment variables
sudo docker run -it -p 9200:9200 -p 9300:9300 -e TZ=EST5EDT -d \ dperson/elasticsearch
Will get you the same settings as
sudo docker run -it --name es -p 9200:9200 -p 9300:9300 -d \ dperson/elasticsearch sudo docker exec -it es elasticsearch.sh -t EST5EDT ls -AlF /etc/localtime sudo docker restart es
Example configs
If you wish to adapt the default configuration, use something like the following to copy it from a running container:
sudo docker cp es:/opt/elasticsearch/config /some/path
You can use the modified configuration with:
sudo docker run -it --name es -p 9200:9200 -p 9300:9300 \ -v /some/path:/opt/elasticsearch/config:ro \ -d dperson/elasticsearch
If you have any problems with or questions about this image, please contact me through a GitHub issue.



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