[Docker] Documentation in https://github.com/elastic/stack-docker

Hi there, I'm trying to use the Docker ensemble described in said github repo and I've finding several issues I'm not sure about how to sort out (I have a background in ES 5.6 and now am trying to catch up with the new versions).

Issues I've found (or not able how to sort out):

  • The first operation to setup containers (docker-compose -f setup.yml up) should be followed, once finished, by an operation to stop and remove containers, as the elasticsearch and kibana containers keep on running. Right?
  • The setup operation fails for the APM Server:
setup_1_5cb909d3bb8f | setup_apm_server       | Exiting: fail to create the 
Kibana loader: Error creating Kibana client: Error creating Kibana client: fail to 
get the Kibana version: HTTP GET request to /api/status fails: <nil>. Response: 
{"statusCode":409,"error":"Conflict","message":"[doc][config:6.6.0]: version 
conflict, document already exists (current version [1]): 
[version_conflict_engine_exception] [doc][config:6.6.0]: version conflict, 
document already exists (current version ... (truncated).
setup_1_5cb909d3bb8f | setup_apm_server exited with code 1
  • Obviously, when the ensemble is run again (docker-compose up -d), once of the containers fails to start:
ERROR: for apm-server  Cannot create container for service apm-server: 
invalid mount config for type "bind": bind source path does not exist: 
/home/ubuntu/Projects/stack-docker/config/apm-server/apm-server.keystore

Finally, some practical issues:

  • May I change the configuration (for instance, for disabling the X-Pack) once the setup process has been run. That is, may I update the elasticsearch.yml file whenever I start the whole Docker ensemble?
  • If I wish to run just some of the services, may I simple select them when running Docker Compose or should I skip them at setup as well?

Thanks

// M.A. Monjas

1 Like

I just had same issue. Did you find any solution?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.