Scaling the Docker Container
You can scale your Docker containers with Docker-Compose.
Start the Docker containers without specifying the port. In case you specify the port, then you are not able to scale the Docker container using the Docker-Compose's scale command. Docker compose's scale command provides flexibility to start desired containers with the same configuration by just specifying a number. So when you are scaling the Docker container, you are letting the Docker daemon assign a free port for the container you are starting.
Note: When scaling any service, it is mandatory to
Run the OMS Server Container on a Predefined Port.
Procedure
Copyright © 2023. Cloud Software Group, Inc. All Rights Reserved.