Created
December 22, 2016 23:03
-
-
Save arhea/c9e51cd0d9b5882a4c748b012067e057 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# syslog over udp | |
docker run -d --name=logspout \ | |
--restart always \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
gliderlabs/logspout \ | |
syslog://logs.example.com:1111 | |
# syslog over tcp | |
docker run -d --name=logspout \ | |
--restart always \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
gliderlabs/logspout \ | |
syslog+tcp://logs.example.com:1111 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment