Last active
October 17, 2017 14:49
-
-
Save leocosta/6cbee66c3d9572b7220a8b97d725da9e 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
https://elk-docker.readthedocs.io/ | |
*https://github.com/michaloo/elasticsearch | |
docker build -t dockerfile/elasticsearch . | |
docker run -p 9200:9200 -p 9300:9300 dockerfile/elasticsearch | |
docker run -p 9200:9200 -it dockerfile/elasticsearch /bin/bash | |
## | |
docker build -t modadocorpo/docker-elasticsearch:5.1.1 . | |
docker run -p 9200:9200 -p 9300:9300 --name elasticsearch modadocorpo/docker-elasticsearch:5.1.1 | |
#!/bin/bash | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment