Scaling Services
Scaling our app to handle multiple requests
We'll cover the following...
Right now, you may be in a situation where you don’t know how to handle these Docker services because, in swarm mode, most of the commands we used earlier won’t work exactly as expected. For example, try removing an app container. As soon as you stop a container, the swarm manager will create a new one because the default state was to have one app and one database container.
So, if you want to stop your app, you can only do that by stopping the service itself.
Scaling app containers
You can deploy multiple containers on a different node. If there are multiple nodes in the ...