# Linking containers

**URL:** <https://meta.discourse.org/t/linking-containers/13694>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [13 مارس 2014، 2:22م UTC](https://meta.discourse.org/t/linking-containers/13694 "2014-03-13T14:22:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [31 مارس 2014، 2:19ص UTC](https://meta.discourse.org/t/linking-containers/13694/4 "2014-03-31T02:19:27Z")

</div>

It really depends on how you set up your server. Try running `ifconfig`

I think you should be able to use docker0 for this. `172.17.42.1`

---

_[View the full topic](https://meta.discourse.org/t/linking-containers/13694)._
