Skip to content

Instantly share code, notes, and snippets.

@leocosta
Last active October 17, 2017 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leocosta/6cbee66c3d9572b7220a8b97d725da9e to your computer and use it in GitHub Desktop.
Save leocosta/6cbee66c3d9572b7220a8b97d725da9e to your computer and use it in GitHub Desktop.
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