No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Scaling a Container == | == Scaling a Container == | ||
Scale up to 20 containers | Containers can easily be scaled when launched through Docker Compose <br> | ||
==== Scale up to 20 containers ==== | |||
<code> | <code> | ||
docker-compose scale phenixapp=20 | docker-compose scale phenixapp=20 | ||
</code> <br> | </code> <br> | ||
==== Scale down to 2 containers ==== | |||
<code> | <code> | ||
docker-compose scale phenixapp=2 | |||
</code> <br> | </code> <br> | ||
Latest revision as of 23:20, 24 April 2020
Scaling a Container
Containers can easily be scaled when launched through Docker Compose
Scale up to 20 containers
docker-compose scale phenixapp=20
Scale down to 2 containers
docker-compose scale phenixapp=2
See also Docker Compose