Skip to content

Instantly share code, notes, and snippets.

@bbqtd
Created March 2, 2017 13:26
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 bbqtd/0fc2ae5f1087d692c0c1d70493a86ef9 to your computer and use it in GitHub Desktop.
Save bbqtd/0fc2ae5f1087d692c0c1d70493a86ef9 to your computer and use it in GitHub Desktop.
docker network create -d bridge mynet
docker run --rm --name elastic --net mynet -p 9200:9200 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" docker.elastic.co/elasticsearch/elasticsearch:5.2.2
docker run --rm --name kibana --net mynet -p 5601:5601 -e ELASTICSEARCH_URL=http://elastic:9200 docker.elastic.co/kibana/kibana:5.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment