Tony Mack | dc98185 | 2016-03-12 14:13:24 +0000 | [diff] [blame^] | 1 | .PHONY: build |
2 | build: ; docker build --rm -t elasticsearch . | ||||
3 | |||||
4 | .PHONY: run | ||||
5 | run: ; docker run -d -p 9200:9200 --name elasticsearch_server elasticsearch | ||||
6 | |||||
7 | .PHONY: stop | ||||
8 | stop: ; docker stop elasticsearch_server | ||||
9 | |||||
10 | .PHONY: rmcontainer | ||||
11 | rmcontainer: ; docker rm elasticsearch_server |