Working with Container Resources
One of the main benefits of moving to Docker from a traditional server environment is that it enables us to heavily reduce the footprint of our services and applications, even when moving to production. This doesn't mean we can simply run anything on our container, expecting all the processes to simply complete their execution, however. Just as we would need resources with a service running on a standalone server, we need to ensure that the resources (such as CPU, memory, and disk input and output) that are being used by our containers do not cause our production environments or any other containers to crash. By monitoring the resources used in our development system, we can help optimize processes and ensure that the end-user is experiencing seamless operation when we move it into production.
By testing our services and monitoring resource usage, we will be able to understand the resources required by the running applications and ensure that...