How to set DOCKER_HOST_IP Docker versionĭocker for Mac is particularly problematic because of networking limitations. Unfortunately, because of version/platform-specific variations in how Docker works, setting this variable is a little tricky. It is recommended to use user-defined bridge networks to. It must be an IP address (or a DNS name) that is accessible from both Docker containers and, if you want to do development, from applications running on the host. Docker for Mac is a native MacOS X application that embeds a hypervisor (based on xhyve), a Linux distribution and filesystem and network sharing that is. By default, there will be one host network and one bridge network after installing Docker package. This variable sets the advertised listener of the Kafka container. In order to correctly configure Eventuate Local, you must set the OS environment variable DOCKER_HOST_IP. The best way to run the Eventuate example applications is using Docker Compose.Įach application comes with a docker-compose.yml file that runs the services.Īlso, if you are using Eventuate Local there is a docker-compose-eventuate-local.yml file that runs the application services and the Eventuate Local infrastructure services: MySQL, Kafka and the CDC service.