A fluentd container to receive logs (docker, syslog, etc), and archive them (disk / s3 / etc).
379
A fluentd container to receive logs from local (host/other containers), and archive them.
We have the following drivers / formats by default. Port forwarding like 127.0.0.1(host):PORT -> container:PORT is required.
default
NOTE: be sure to bind ports to 127.0.0.1 to kept them from internet.
# docker run -d -p 127.0.0.1:24224:24224 jokester/fluentd-archiver
docker-compose (warning: log may lost without synchronization/wait of containers)
version: '2'
services:
fluentd-archiver:
image: jokester/fluentd-archiver
ports:
- "127.0.0.1:24224:24224"
volumes:
- "./log-archive:/log-archive"
restart: always
TODO
version: '2'
services:
(service-name):
logging:
driver: fluentd
options:
fluentd-address: "127.0.0.1:24224"
# async-connect requires docker >= 1.11
fluentd-async-connect: "true"
Content type
Image
Digest
Size
14.5 MB
Last updated
over 6 years ago
docker pull jokester/fluentd-archiver