Docker images for Logstash are available from the Elastic Docker registry. The base image is centos:7.
These images are free to use under the Elastic license. They contain open source and free commercial features and access to paid commercial features. Start a 30-day trial to try out all of the paid commercial features. See the Subscriptions page for information about Elastic license levels.
Obtaining Logstash for Docker is as simple as issuing a
pull command against the Elastic Docker registry.
docker pull docker.elastic.co/logstash/logstash:7.2.1
Alternatively, you can download other Docker images that contain only features available under the Apache 2.0 license. To download the images, go to www.docker.elastic.co.