How to Increase the CPU Share and Memory of a Container

To increase the Docker CPU share and the memory of a container, use the following example command:
docker update --cpu-shares 5120 -m 3000M ml-tm

See Docker CPU share constraints and memory constraints for more information.