How to change the resources allocated to a container at run time?

docker, resources

Solution

not at present no - There is a desire to see someone implement it though: https://github.com/docker/docker/issues/6323

Problem

I am aware that I can limit the resources allocated to a container while provisioning using docker with the `-c` and `-m` flags for CPU and memory. However, is there a way I can change these allocated resources to containers dynamically (after they have been provisioned) and without redeploying the same container with changed resources?

Original source