How to get filebeat docker image's Dockerfile

How can I get the filebeat docker iamge's docker file?

Here is the document says

FROM docker.elastic.co/beats/filebeat:6.3.2
COPY filebeat.yml /usr/share/filebeat/filebeat.yml
USER root
RUN chown root:filebeat /usr/share/filebeat/filebeat.yml
USER filebeat

how can i run it in the docker-entrypoint file or CMD

All Beat images are created from the source contained in https://github.com/elastic/beats-docker.

The Dockerfile is generated from a template in order to reduce duplication. https://github.com/elastic/beats-docker/blob/master/templates/Dockerfile.j2

FYI There's metadata in the image labels that points to the source repo too. It follows http://label-schema.org/rc1/.

docker inspect docker.elastic.co/beats/filebeat:6.3.2 | grep org.label

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.