Docker Community Forums

Share and learn in the Docker community.

Inbuilt Swarm Container Distribution

Hi,
I’m using Docker 1.12.1 in swarm mode on a 3-node cluster. Is there any way to change the method Docker uses to distribute the containers? I am currently running 39 containers, which get spread evenly across the nodes. Problem is, the containers use vastly different amounts of RAM, which usually results in one or two of the nodes being totally stripped of free memory, while one is barely touched. CPU usage across the containers is fairly consistent and light, so new nodes continue to be allocated to overwhelmed nodes.
Thoughts?