Services fail to link with each other when launched in rancher-compose; services work fine when launched with docker-compose

When using Docker Compose, I am able to start a Spring Cloud Discovery Server container (i.e. Eureka Server) and a Discovery Client container (i.e. Eureka Client) without issue. The client container registers with the server container; both containers are visible in Rancher. When I try to launch the same containers using Rancher Compose, the containers start fine but the client is unable to find and register with the server.

To demo the issue, I created a small example at The README provides instructions on how to build/launch the containers and recreate the issue.

Please run the demo and aide me in getting this example to run under rancher-compose.



I’m not familiar with Eureka, but not sure if you saw the other Eureka related forum posts.