Build the syslog container:
docker build -t syslog .Run it:
docker run --name syslog -d -v /tmp/syslogdev:/dev syslogTail them logs:
docker run --volumes-from syslog ubuntu tail -f /var/log/syslogStart another container to send logs:
docker run -v /tmp/syslogdev/log:/dev/log ubuntu logger helloSee in the log message show up in the "tail" container.
Latest commit
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|