How to bind to loopback address with docker

I'm trying to run logstash using docker (with or without compose).
I have set network.publish_host=
but I still get the following:

logstash_1 | {"type": "server", "level": "INFO", "component": "o.e.t.TransportService", "": "docker-cluster", "": "7a0265a90419", "message": "publish_address {}, bound_addresses {}" }
logstash_1 | {"type": "server", "level": "INFO", "component": "o.e.b.BootstrapChecks", "": "docker-cluster", "": "7a0265a90419", "message": "bound or publishing to a non-loopback address, enforcing bootstrap checks" }
logstash_1 | ERROR: [1] bootstrap checks failed

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