Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

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

Description

@zhajingwen
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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions