Sign inSign up

habitissimo/fluentd-aws-es

By habitissimo

•Updated over 8 years ago

Fluentd with fluent-plugin-aws-elasticsearch-service

Image
1

895

habitissimo/fluentd-aws-es repository overview

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.

⁠Usage example
# 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
⁠Dockerfile
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

Tag summary

Content type

Image

Digest

Size

22.3 MB

Last updated

over 8 years ago

docker pull habitissimo/fluentd-aws-es