Skip to content

ColinHuang/syslogdocker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

One syslog to rule them all

  1. Build the syslog container:

    docker build -t syslog .

  2. Run it:

    docker run --name syslog -d -v /tmp/syslogdev:/dev syslog

  3. Tail them logs:

    docker run --volumes-from syslog ubuntu tail -f /var/log/syslog

  4. Start another container to send logs:

    docker run -v /tmp/syslogdev/log:/dev/log ubuntu logger hello

  5. See in the log message show up in the "tail" container.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published