Skip to content

To let logstash to run as root in docker (managed by marathon) #86

Closed
@zhengkai6

Description

@zhengkai6

First I changed the startup.option file, to let the following config items to be root user:

user and group id to be invoked as

LS_USER=root
LS_GROUP=root
But it does not take effect.

Then, I changed my marathon json file, to add parameter in docker config, but the runner is also logstash, not changed to root.

logstash 1 36.0 2.8 6103200 460876 ? Ssl 03:44 1:58 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSIni
root 105 0.0 0.0 22012 2280 ? Ss 03:47 0:00 /bin/bash
root 127 0.0 0.0 19180 1312 ? R+ 03:49 0:00 ps aux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions