# How to link docker native container launch with docker-compose and container launch with rancher stack

**URL:** <https://forums.suse.com/t/how-to-link-docker-native-container-launch-with-docker-compose-and-container-launch-with-rancher-stack/5077>\
**Category:** Rancher 1.x\
**Created:** [January 4, 2017, 12:57pm UTC](https://forums.suse.com/t/how-to-link-docker-native-container-launch-with-docker-compose-and-container-launch-with-rancher-stack/5077 "2017-01-04T12:57:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxtor3569](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@maxtor3569](https://forums.suse.com/u/maxtor3569)\
**Post date:** [January 4, 2017, 12:57pm UTC](https://forums.suse.com/t/how-to-link-docker-native-container-launch-with-docker-compose-and-container-launch-with-rancher-stack/5077/1 "2017-01-04T12:57:47Z")

</div>

Hello there.  
I’m pretty new with Rancher.

My docker-compose has 5 containers. All of these container have :  
network\_mode: bridge  
labels:  
- “io.rancher.container.network=true”

They joined so the managed network of Rancher and have an “rancher” ip.

I want now link one of my container (A) from docker-compose file to one container (B) of an other stack(Sentry stack) created in rancher.  
My (A) container can ping the rancher ip of (B) in sentry stack but cannot ping the container alias of the Sentry stack.  
I try ping \<service\_name\>. and it’s not working.

Can you help me please ?
