Created
April 9, 2019 06:10
-
-
Save rav94/b125ce2e83139e9076803c9ced41247b to your computer and use it in GitHub Desktop.
Filebeat Custom Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM docker.elastic.co/beats/filebeat:6.5.2 | |
# Copy custom configuration file | |
COPY filebeat.yml /usr/share/filebeat/filebeat.yml | |
USER root | |
# Create a directory to map volume with all docker log files | |
RUN mkdir /usr/share/filebeat/dockerlogs | |
RUN chown -R root /usr/share/filebeat/ | |
RUN chmod -R go-w /usr/share/filebeat/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment