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 https://github.com/dsvmacdonald/rancher-compose-link-issue-with-spring-cloud. 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.

Thanks,

Dan

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

http://forums.rancher.com/t/trying-to-run-eureka-netflix-under-rancher-resolving-issues/777/6

http://forums.rancher.com/t/rancher-metadata-slow-to-respond-on-container-start/896