runc-update(8)
π runc-update β like, the manual page bestie π
okay so this is runc-update(8) from the System Manager's Manual and it's literally the glow-up button for your running containers. let's get into it π«Ά
β¨ NAME β¨
runc-update β update running container resource constraints
πΈ SYNOPSIS πΈ
runc update [option ...] container-id
runc update -r resources.json|- container-id
π¦ DESCRIPTION π¦
The update command changes the resource constraints of a running container instance. not a new container, not a stopped one β a running one, bestie. mid-glow-up. π
You can set the resources with options, or, if -r is used, they get parsed from JSON that you hand over as a file or straight from stdin.
In case -r is used, the JSON format is like this:
{
"memory": {
"limit": 0,
"reservation": 0,
"swap": 0,
"kernel": 0,
"kernelTCP": 0
},
"cpu": {
"shares": 0,
"quota": 0,
"burst": 0,
"period": 0,
"realtimeRuntime": 0,
"realtimePeriod": 0,
"cpus": "",
"mems": ""
},
"blockIO": {
"blkioWeight": 0
}
}
π OPTIONS π
--resources|-r resources.jsonβ reads the new resource limits fromresources.json. use-to read from stdin. and listen: if this option is used, all other options are ignored. periodt. π--blkio-weight weightβ sets a new io weight.--cpu-period numβ sets the CPU CFS period used for hardcapping (in microseconds).--cpu-quota numβ sets the CPU usage limit within a given period (in microseconds).--cpu-burst numβ sets the CPU burst limit within a given period (in microseconds).--cpu-rt-period numβ sets the CPU realtime period used for hardcapping (in microseconds).--cpu-rt-runtime numβ sets the CPU realtime hardcap limit (in usecs). that's the allowed cpu time in a given period, iykyk.--cpu-share numβ sets CPU shares (relative weight vs. other containers).--cpuset-cpus listβ sets the CPU(s) to use. the list can contain commas and ranges. for example:0-3,7.--cpuset-mems listβ sets the memory node(s) to use. same list format as--cpuset-cpus.--memory numβ sets the memory limit tonumbytes.--memory-reservation numβ sets the memory reservation, aka the soft limit, tonumbytes.--memory-swap numβ sets total memory + swap usage tonumbytes. use-1to unset the limit (i.e. use unlimited swap). π--pids-limit numβ sets the maximum number of processes allowed in the container. use-1to unset the limit.--l3-cache-schema valueβ sets the value for Intel RDT/CAT L3 cache schema.--mem-bw-schema valueβ sets the Intel RDT/MBA memory bandwidth schema.
π SEE ALSO π
okay that's the whole thing, no cap. this page lives in the System Manager's Manual and its name is runc-update(8) β slay, you're all caught up. go update something. π
β¨π¦
π¦ where this page comes from
- alpine 3.24: runc-doc 1.4.3-r2 Β· Apache-2.0
- arch rolling: runc 1.5.2-1 Β· Apache
- fedora 43: runc 2:1.5.2-3.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- fedora 44: runc 2:1.4.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- fedora 44: runc 2:1.5.2-3.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- nixpkgs unstable: runc 1.5.2
- ubuntu resolute: runc 1.4.0-0ubuntu1 Β· Apache-2.0
- ubuntu stonking: runc 1.5.1-0ubuntu2 Β· Apache-2.0
- ubuntu stonking: runc-stable 1.5.1-0ubuntu2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms