(Created page with "== Scaling a Container == Category:Docker") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Scaling a Container == | == Scaling a Container == | ||
Containers can easily be scaled when launched through Docker Compose <br> | |||
==== Scale up to 20 containers ==== | |||
<code> | |||
docker-compose scale phenixapp=20 | |||
</code> <br> | |||
==== Scale down to 2 containers ==== | |||
<code> | |||
docker-compose scale phenixapp=2 | |||
</code> <br> | |||
See also [[Docker Compose]] | |||
[[Category:Docker]] | [[Category:Docker]] |
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