a logstash container that ships logs to a RabbitMq
a docker container to ship logs to rabbitmq.
sudo docker pull jnyryan/logstash-shipper sudo docker run \ -d \ --name ls1 \ -e RMQ_HOST:127.0.0.1 \ -v /var/log/:/var/log/ \ jnyryan/logstash-shipper
-d = run in detached mode
--name = the name of instance in case you want multiple running
-v = the host directory to mount in the container. This is where LogStash looks for logs
See the full code on github
Docker Pull Command