Skip to content

Container crashes after plugin installation #58

Open
@FraLarghi

Description

@FraLarghi

Hi guys,

I've a problem with the installation of this plugin in the contatiner version of logstash oss 6.7.1.
I'm running the container on a Centos 7 machine.
I'm just using the base conf provided by the container, but as soon as the container finishes to install the plugin, the container crashes with exit code 0 and no logs in docker logs.

This is the command I launch:
docker run -d --name logstash --network host docker.elastic.co/logstash/logstash-oss:6.7.1 sh -c 'bin/logstash-plugin install logstash-output-mongodb'

The container just outputs:
Validating logstash-output-mongodb
Installing logstash-output-mongodb
Installation successful

But after the successful installation command it exits with exit code 0:
1f5efe22c4fb docker.elastic.co/logstash/logstash-oss:6.7.1 "/usr/local/bin/dock…" 2 minutes ago Exited (0) 2 minutes ago logstash

The container crashes just if I install this plugin, otherwise it works fine.

Thank you for your support!

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