This image extends kiyoto/docker-fluentd and it has two modes; server and client.
Server or hub mode aggregates logs from client mode containers
and store logs to MongoDB.
Client mode gathers containers logs from
/var/lib/docker/containers.
$ docker pull jkawamoto/fluentd
This mode requires
mongo,USER and PASSWORD
which are auth information of MongoDB.$ docker run -d --name fluentd-server --link <mongodb>:mongo \
-e USER=<user> -e PASSWORD=<password> \
jkawamoto/fluentd server
This mode requires
fluentd,/var/lib/docker/containers to the same path,HOSTNAME.$ docker run -d --name fluentd-client --link fluentd-server:fluentd \
-v /var/lib/docker/containers:/var/lib/docker/containers \
-e HOSTNAME=<some identifier> \
jkawamoto/fluentd client
It also takes environment variable PORT.
You can specify server's listing port with this variable.
This software is released under the MIT License, see LICENSE.
Content type
Image
Digest
sha256:c3a217cca…
Size
647 MB
Last updated
over 9 years ago
docker pull jkawamoto/fluentd