examples icon indicating copy to clipboard operation
examples copied to clipboard

Examples does not support macOS

Open weichuliu opened this issue 5 years ago • 4 comments

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.

weichuliu avatar Nov 07 '19 10:11 weichuliu

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 avatar Nov 07 '19 10:11 weichuliu

@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!

ybyzek avatar Nov 07 '19 10:11 ybyzek

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 avatar Nov 07 '19 11:11 weichuliu

@weichuliu agree, thanks for filing this issue.

ybyzek avatar Nov 07 '19 12:11 ybyzek