Docker images for Logstash are available from the Elastic Docker registry. The base image is centos:7.
The images are available in two different configurations or "flavors". The
x-pack flavor, which is the default, ships with X-Pack features
oss flavor does not include X-Pack, and contains only
open source Logstash.
Obtaining Logstash for Docker is as simple as issuing a
pull command against the Elastic Docker registry.
Docker images can be retrieved with the following commands:
docker pull docker.elastic.co/logstash/logstash:6.2.4 docker pull docker.elastic.co/logstash/logstash-oss:6.2.4