Skip to content

Instantly share code, notes, and snippets.

@mlicheng
Last active April 1, 2021 08:13
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 mlicheng/7aad29908a383a0e2db862ed16aabda5 to your computer and use it in GitHub Desktop.
Save mlicheng/7aad29908a383a0e2db862ed16aabda5 to your computer and use it in GitHub Desktop.
docker env for kibana
// delete images which tag is none
docker rmi $(docker images | grep "none" | awk '{print $3}')
// docker env for kibana config
"Env": [
"PATH=/usr/share/kibana/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"ELASTIC_CONTAINER=false",
"ELASTICSEARCH_HOSTS=http://127.0.0.1:8812"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment