HI All,
I tried to bring up elastic and kibana using docker, but it seems to have gone wrong. Does anyone have any suggestions for me?
I took this docker compose file as my starting point:
https://github.com/elastic/stack-docker/blob/master/docker-compose.yml
I removed most things, except for the desired elastic + kibana entries, and I added "discovery.type=single-node" like this:
elasticsearch:
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch-oss:${TAG}
#command: -e "discovery.type=single-node"
environment:
- discovery.type=single-node
...
I started everything up via:
ELASTIC_VERSION=6.1.3 TAG=6.1.3 ELASTIC_PASSWORD=changeme docker-compose up
However there are quite a few errors on stdout/stderr e.g.
"License information from the X-Pack plugin could not be obtained from
Elasticsearch for the [data] cluster. [invalid_index_name_exception]
Invalid index name [_xpack], must not start with '_'.
I am able to access the Kibana URL (http://localhost:5601/) but on the initial login screen is a warning:
Login is currently disabled. Administrators should consult the Kibana logs for more details.
Any ideas about the source of the problem?
I assume I'm meant to supply the password via the environment (and that "changeme" is correct)?
I chose the "basic" OSS ES image version, perhaps should I have pulled the Xpack image instead?
These are the docker images I used:
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.elastic.co/kibana/kibana 6.1.3 a3f439b54fc4 7 days ago 963MB
docker.elastic.co/elasticsearch/elasticsearch-oss 6.1.3 eea176d246d7 7 days ago 475MB
archlinux/base latest 71415bf73a2b 5 weeks ago 394MB
Oh, I just noticed that much further down in the original github docker-compose file there is another Kibana related entry called "setup_kibana" ... maybe I also need to include/run that in my compose file?
Thanks in advance!