Fluentd with fluent-plugin-aws-elasticsearch-service
895
Small fluentd image based on alpine linux, imports ruby gems from another container where they are compiled, removing a lot of dev dependencies and making the image smaller.
# Run fluentd
docker run \
--name "fluentd" \
--restart always \
-p 24224:24224 \
-v /var/log:/var/log \
-v /tmp:/tmp \
-v /etc/fluent:/etc/fluent \
-d habitissimo/fluentd-aws-es
FROM alpine:latest
MAINTAINER Hugo Chinchilla <[email protected]>
RUN apk update
RUN apk add ruby && rm -r /var/cache/apk/*
# Install native extensions
ADD ruby/ /usr/lib/ruby/
RUN gem install fluentd fluent-plugin-aws-elasticsearch-service --no-document --clear-sources
ENTRYPOINT ["fluentd"]
EXPOSE 24224
Content type
Image
Digest
Size
22.3 MB
Last updated
over 8 years ago
docker pull habitissimo/fluentd-aws-es