Created
July 29, 2015 23:24
-
-
Save yoanisgil/1a854a534449cd295fd1 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
----Daemon.sh | |
#!/bin/bash | |
while : ; do sleep 1 ; echo test ; done | |
---Docker run | |
docker run --name testlog -v $(pwd)/daemon.sh:/daemon.sh -ti -d --log-driver=syslog --log-opt address=tcp://aws034:1514 ubuntu ./daemon.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment