examples
examples copied to clipboard
Examples does not support macOS
I was trying out "multi-datacenter" demo, and looks like the yaml and scripts does not support macOS.
I was using docker-machine
and the docker and containers all runs in a VirtualBox machine. In the docker-compose.yml
Kafka advertised themselves as localhost:<port>
, this would not work with VirtualBox as the VM has its own IP.
Also, I searched the README but there is nowhere mentioning which environment does the examples support.
It might be a good idea to tell macOS is not supported on README/start.sh
. But it will be better if the demo can be mod to also support macOS+docker-machine
@weichuliu all demos are validated on Docker for Mac (Version 18.03.0-ce-mac60 (23751)
). They are not validated on VirtualBox. Can you please try Docker for Mac and see if it works? Thanks!
Looks like Docker for Mac setup a virtual network to make everything work smoothly, and without it (e.g. people only use docker-machine
and docker
directly) the networking configuration is absent, thus it doesn't work.
I feel this is worth mentioning somewhere in the doc.
@weichuliu agree, thanks for filing this issue.