Skip to content

Instantly share code, notes, and snippets.

@tychedelia
Last active February 19, 2018 06:47
Show Gist options
  • Save tychedelia/82a1939926f70c1fdf8b3b6f696acde3 to your computer and use it in GitHub Desktop.
Save tychedelia/82a1939926f70c1fdf8b3b6f696acde3 to your computer and use it in GitHub Desktop.
run commands
CLUSTERNAME=""
ES_VERSION=6.2.1
docker run \
-dti \
-e "CLUSTER_NAME=$CLUSTER_NAME" \
-p "9200:9200" \
-p "9300:9300" \
--name=elasticsearch \
docker.elastic.co/elasticsearch/elasticsearch:"$ES_VERSION"
docker run \
-dti \
-p "5601:5601" \
-e "ELASTICSEARCH_URL=http://docker.for.mac.localhost:9200" \
--name=kibana \
docker.elastic.co/kibana/kibana:"$ES_VERSION"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment