Elasticsearch in Docker


#1

Installing ES 5.2.0 in a docker container. When elasticsearch starts up I get this line in the log file:

[i.n.u.i.MacAddressUtil ] Failed to find a usable hardware address from the network interfaces; using random bytes: 34:f6:3b:4d:3c:07:eb:8d

I can curl elasticsearch inside the container and it responds, but the container never sets up a network link with the host. So ES is not reachable outside the container.

if I set the the network.host parameter to 0.0.0.0, I get a bootstrap failure and the task exits.

What can I do to hook ES up to the network interface?


(David Pilato) #2

Have a look at https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-cli-run-prod-mode


(system) #3

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