Public | Automated Build

Last pushed: a year ago
Short Description
Syslog demon inside Docker container. Attach and Log!
Full Description


Side-car container with running system logging demon.

This container can be attached to an arbitrary amount of containers as their log
demon. Useful for catching and collecting logs inside a docker-compose
composition without Docker.

Make It Short

This container enables system logging. Just type:

$ docker run -d \
    --name syslog \

Starts a rsyslog demon.

Now attach a different container and use logger:

$ docker run -it \
    --volumes-from syslog \
    blacklabelops/centos \
$ logger hello world
$ cat /var/log/messages

This will open a console inside another container, you can log and read the messages.

How it works

The Container exposes the logging socket /dev/log as a Docker volume. The statement --volumes-from syslog mounts
this volume and logs without having to run a syslog demon locally.


Leave a message and ask questions on Hipchat: blacklabelops/hipchat


Docker Pull Command
Source Repository