Updating Limits

Difficulty: Advanced

Question

Can you update resource limits (CPU/Memory) of a running container?

Answer

Yes, using the `docker update` command (e.g., `docker update --cpu-shares 512 <id>`).

Concepts covered

Resource, Hot Update