| runc-update(8) | System Manager's Manual | runc-update(8) |
runc-update - update running container resource constraints
runc update [option ...] container-id
runc update -r resources.json|- container-id
The update command change the resource constraints of a running container instance.
The resources can be set using options, or, if -r is used, parsed from JSON provided as a file or 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,
"period": 0,
"realtimeRuntime": 0,
"realtimePeriod": 0,
"cpus": "",
"mems": ""
},
"blockIO": {
"blkioWeight": 0
}
}
runc(8).