3 ms·
How do you scale with Docker? I get the idea of how containers work. I get the idea of how it shares resources between like containers. That's all very cool.
by jamra 13y ago
How do you scale with Docker? I get the idea of how containers work. I get the idea of how it shares resources between like containers. That's all very cool. My question is how do I scale a docker container? It's not well covered in the tutorial. Do I just add more containers? What happens when I want to scale on separate servers? I don't see any configurability of the items inside the containers.
- nickstinemates 13y ago> Do I just add more containers Yep > Sepeate servers? Today, manual. Docker Host clustering is a feature that needs to be worked out. > Configurability of items inside of containers The `link` primitive in the 0.7 release is the key to this one. While primitive currently, it's already extremely powerful and will only get better.
- jamra 13y agoThank you.
- nickstinemates 13y agoAnytime :) This is what I do, so please don't hesitate.
- wmf 13y agoFor scaling you probably want to use a Docker-based PaaS like Flynn or Deis. I would propose starting with vertical scaling by increasing cgroup limits on a single container and once the container can't grow any more you can scale horizontally by adding more containers on other machine.