-
Build the syslog container:
docker build -t syslog . -
Run it:
docker run --name syslog -d -v /tmp/syslogdev:/dev syslog -
Tail them logs:
docker run --volumes-from syslog ubuntu tail -f /var/log/syslog -
Start another container to send logs:
docker run -v /tmp/syslogdev/log:/dev/log ubuntu logger hello -
See in the log message show up in the "tail" container.
forked from jpetazzo/syslogdocker
-
Notifications
You must be signed in to change notification settings - Fork 1
ColinHuang/syslogdocker
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published