Tony Mack | b995914 | 2016-03-12 14:13:24 +0000 | [diff] [blame] | 1 | .PHONY: build |
2 | build: ; docker build --rm -t logstash-forwarder . | ||||
3 | |||||
4 | .PHONY: run | ||||
5 | run: ; docker run --rm -v `pwd`/../logstash/certs:/opt/certs -v /var/log/:/var/log --name logstash-forwarder_server -i -t logstash-forwarder | ||||
6 | |||||
7 | .PHONY: stop | ||||
8 | stop: ; docker stop logstash-forwarder_server | ||||
9 | |||||
10 | .PHONY: rmcontainer | ||||
11 | rmcontainer: ; docker rm logstash-forwarder_server |