Docker Community Forums

Share and learn in the Docker community.

Is there an alternative feature like docker-compose scale?

docker

(Chunmin Tai) #1

Hello everyone!

I used to use docker-compose scale to dynamically change the number of some container. But I only find target_num_containers in Docker Cloud Stack, which can not dynamically alter the number of container.

Is there a better solution?


(Kostasmistos) #2

You can definitely scale dynamically from the Docker-cloud web interface and also put some triggers for auto-scaling.
If you don’t like web interface and prefer CLI then i think you should check the Docker-cloud docks https://docs.docker.com/docker-cloud/tutorials/golang/7_scale_the_service/