Update resource limits on a running container.
Section: Inspection and Debugging
Update container resources
bash
bash
docker update --memory 512m --cpus 1.5 webExplanation
Common for tuning CPU and memory without recreating the container.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Inspection and Debugging