Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 996 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 996 Bytes

Docker Build Status

rruizs/dockerflume

Self-contained Docker image containing Java and Apache Flume 1.8 based on probablyfine/flume

Usage

$ docker pull rruizs/dockerflume
$ docker run \
  --env FLUME_AGENT_NAME=agent\
  --volume /tmp/config.conf:/opt/flume-config/flume.conf \
  --detach \
  rruizs/dockerflume:latest

Note: the FLUME_AGENT_NAME environment variable and presence of /opt/flume-config/flume.conf on the image are required.

Building your own

Set up configuration directory and required environment variables in a Dockerfile

FROM rruizs/dockerflume
ENV FLUME_AGENT_NAME <your_agent_name>
ADD flume.conf /opt/flume-config/flume.conf

Build and run image

$ docker build -t my-flume-image .
$ docker run -d my-flume-image