Where to get help
Where to file issues
Maintained by
Jeorch, [email protected]
run with default
docker run -d jeorch/flume
NOTE: The agent name for default configuration is 'agent', you can customize it by docker enviroment. please refer to blow.
run with customized agent name
docker run -e AGENT=myAgent jeorch/flume
NOTE: If you run the image with a customized agent name, do remember that, the same agent name must be exist in your configuration file. e.g, flume-conf.properties. Please refer to blow.
run with customized configurations
docker run -v /path/to/your/conf.properties:/apache-flume/conf/flume-conf.properties jeorch/flume
NOTE: If you has a different agent name than default, do remember to set docker environment for your agent.
run with customized log configurations
docker run -v /path/to/your/log4j.properties:/apache-flume/conf/log4j.properties jeorch/flume
NOTE: You can specify where to output logs by log4j.properties
run with customized command
docker run jeorch/flume sh -c "./bin/flume-ng agent -n ${AGENT} -c conf -f conf/flume-conf.properties"
NOTE: You can run flume with your preferred command!
stack deploy
docker-compose.yml
version: '2'
services:
flume:
image: jeorch/flume
hostname: flume
container_name: flume
restart: always
environment:
AGENT: agent
volumes:
- ${PWD}/conf/flume-conf.properties:/apache-flume/conf/flume-conf.properties:ro
docker-compose -f docker-compose.yml up
Content type
Image
Digest
Size
257.5 MB
Last updated
about 7 years ago
docker pull jeorch/flume:1.9.0