Anonymous
×
Create a new article
Write your page title here:
We currently have 27 articles on PhenixOps. Type your article name above or click on one of the titles below and start writing!



PhenixOps
27Articles

Scaling: Difference between revisions

(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