### Motivation When pulsar standalone runs in normal mode, the bookie advertises itself with `localhost`. This is the expected behavior and works well when changing IP or hostname.
When running with docker, mounting an external volume, eg: ``` docker run -it \ -p 6650:6650 \ -p 8080:8080 \ -v $PWD/data:/pulsar/data \ apachepulsar/pulsar:2.1.0-incubating \ bin/pulsar standalone ``` the bookie advertises itself with the docker container hostname. When restarting the container this will cause the bookie cookie not to match with the previous value and fail to start. ### Modifications Force to always advertise localhost for standalone bookie. [ Full content available at: https://github.com/apache/incubator-pulsar/pull/2425 ] This message was relayed via gitbox.apache.org for [email protected]
