# How to Setup Container Distribution?

**URL:** <https://forums.suse.com/t/how-to-setup-container-distribution/2933>\
**Category:** Rancher 1.x\
**Created:** [May 27, 2016, 3:32am UTC](https://forums.suse.com/t/how-to-setup-container-distribution/2933 "2016-05-27T03:32:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![galahat88](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@galahat88](https://forums.suse.com/u/galahat88)\
**Post date:** [May 27, 2016, 3:32am UTC](https://forums.suse.com/t/how-to-setup-container-distribution/2933/1 "2016-05-27T03:32:44Z")

</div>

Hi All,

I have some concern about container distribution with rancher. In my case i have this condition:

- Rancher server HA with 3 node.
- Rancher host with 3 node.
- When i add number of container for my web app, it’s not distribute properly. Let say i want to add 4 container, it created one on host A and two on host B and nothing on Host C.

I think it will be nice if the container can distribute to all host. What is the missing step that should i do ?

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [May 27, 2016, 5:53am UTC](https://forums.suse.com/t/how-to-setup-container-distribution/2933/2 "2016-05-27T05:53:52Z")

</div>

Containers are scheduled on hosts based on how many containers are on each host. It has nothing to do with resource limitations of the hosts.

There are several ways that you handle container scheduling.

Here are some docs that could help get you started

[Container scheduling in the UI](http://docs.rancher.com/rancher/latest/en/rancher-ui/scheduling/)

[Container scheduling using Rancher-compose](http://docs.rancher.com/rancher/latest/en/rancher-compose/scheduling/)

---

<div class="post-metadata">

**Author:** ![jakub.knejzlik](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jakub.knejzlik/32/2263_2.png) [@jakub.knejzlik](https://forums.suse.com/u/jakub.knejzlik)\
**Post date:** [March 14, 2017, 1:03pm UTC](https://forums.suse.com/t/how-to-setup-container-distribution/2933/3 "2017-03-14T13:03:29Z")

</div>

The easiest way to get services distributed across all hosts is to set scheduling as \*the host **should not** have a **service with the name** …" and pick your service name.
