Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker命令行方式启动log-pilot连接需要鉴权的ES总是无法连接 #355

Open
zhajingwen opened this issue Aug 17, 2023 · 0 comments

Comments

@zhajingwen
Copy link

docker run --name mypilot --rm -it \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /:/host \
    --privileged  \
    -e PILOT_LOG_PREFIX=bitget \
    -e FLUENTD_OUTPUT=elasticsearch \
    -e LOGGING_OUTPUT=elasticsearch \
    -e ELASTICSEARCH_HOSTS=101.112.13.27 \
    -e ELASTICSEARCH_PORT=9200 \
    -e ELASTICSEARCH_USER=elastic \
    -e ELASTICSEARCH_PASSWORD=#xxxxxxz \
    registry.cn-hangzhou.aliyuncs.com/acs-sample/log-pilot:latest

上面是启动方式,密码都是对的,昨天搞了一天,也没搞定是啥毛病,就是连接不上无法推送日志信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant