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 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. just check the current IP using this command: docker-machine ip default. This variable sets the advertised listener of the Kafka container. uninstall docker mac docker mac virtual machine docker. Network policy (ACLs, encapsulation, and QoS) for these container endpoints are enforced in the physical Hyper-V host as received by the Network Controller and defined in upper-layer.
In order to correctly configure Eventuate Local, you must set the OS environment variable DOCKER_HOST_IP. The container endpoints have unique IP addresses but share the same MAC address of the container host (tenant) virtual machine due to Layer-2 address translation.
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.