# Utilisez plusieurs conteneurs Docker sans exposer de ports

**URL:** <https://meta.discourse.org/t/use-multiple-docker-containers-without-exposing-ports/22283>\
**Category:** Sysadmins\
**Tags:** docker, how-to, advanced-setup\
**Created:** [Novembre 18, 2014, 9:43 UTC](https://meta.discourse.org/t/use-multiple-docker-containers-without-exposing-ports/22283 "2014-11-18T21:43:13Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![almereyda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/almereyda/32/367792_2.png) [@almereyda](https://meta.discourse.org/u/almereyda)\
**Post date:** [Octobre 22, 2015, 2:33 UTC](https://meta.discourse.org/t/use-multiple-docker-containers-without-exposing-ports/22283/8 "2015-10-22T14:33:37Z")

</div>

@sam Thinking about the above, [pups](https://github.com/samsaffron/pups) syntax seems to be a little different from what we know from `docker-compose.yml` files, which we already liked when they were called `fig` files:

Where the term [`ports`](https://docs.docker.com/compose/yml/#ports) is being used for the regular Docker NATting to the host system, the term [`expose`](https://docs.docker.com/compose/yml/#expose) can be used to offer services inside a container without forwarding to the host system.

> <https://github.com/discourse/discourse_docker/blob/master/README.md#expose>

Would it make senste to introduce this distinction to pups, too?

* * *

Edit: Escalated into an issue.

[https://github.com/SamSaffron/pups/issues/14](https://github.com/SamSaffron/pups/issues/14)

---

_[View the full topic](https://meta.discourse.org/t/use-multiple-docker-containers-without-exposing-ports/22283)._
