Lost connection to Elasticsearch in single-machine Docker configuration

If your Docker containers are running on a single computer that uses Intel System Studio, you can experience eventual loss of your connection to Elasticsearch. To avoid this, enable the "Expose daemon without TLS" option.

Problem

You may lose contact with Elasticsearch Docker containers after a period of initial sucess in the following circumstances:
  • You are running the complete search solution on a single machine.
  • That machine is using Intel System Studio.
For more information about this and other System Studio-related settings, see the Install Docker for Intel System Studio User Guide.

Solution

In your Docker settings, under the General tab, check the box next to the "Expose daemon on tcp://localhost:2375 without TLS" setting. This setting will allow Docker to work with Intel System Studio.

Result

Upon restarting Docker, the connection to your Elasticsearch containers will persist correctly.