-
Notifications
You must be signed in to change notification settings - Fork 270
Engine not able to connect to elasticsearch #84
Comments
If I understand this correctly, this was fixed when you added: I could be that things have changed with the 🆕 docker that was just released? |
Yes that is correct. From my host OS |
So docker shouldn't talk to elasticsearch on localhost it should talk to it on http://elasticsearch:9200 because it is linked into the container with I'll try this in docker as well and check. |
Yes that makes sense. |
I forgot to mention this, but it doesn't change anything about the way the issue should be fixed. For the workaround to work the elk stack will also have to be started with |
I got same problem,add --network="host", it work as expected |
I'll add this to the docs in the README thank you! |
The engine container is not able to connect to the elasticsearch container.
I confirmed that the problem was not any of the bugs described in https://github.com/maliceio/malice/blob/master/docs/KnownBugs.md.
Connecting to elasticsearch from my host OS works:
Following command fails with
connect: connection refused
:As a workaround adding
--network="host"
to the command above makes it work as expected.Docker version:
Docker info (with some info removed):
The text was updated successfully, but these errors were encountered: