1runc-update(8)              System Manager's Manual             runc-update(8)
2
3
4

NAME

6       runc update - update container resource constraints
7
8
9

SYNOPSIS

11       runc update [command options] <container-id>
12
13
14

DESCRIPTION

16       The  data  can  be read from a file or the standard input, the accepted
17       format is as follow (unchanged values can be omitted):
18
19
20       {
21            "memory": {
22              "limit": 0,
23              "reservation": 0,
24              "swap": 0,
25              "kernel": 0,
26              "kernelTCP": 0
27            },
28            "cpu": {
29              "shares": 0,
30              "quota": 0,
31              "period": 0,
32              "realtimeRuntime": 0,
33              "realtimePeriod": 0,
34              "cpus": "",
35              "mems": ""
36            },
37            "blockIO": {
38              "blkioWeight": 0
39            }
40          }
41
42
43       Note: if data is to be read from a file  or  the  standard  input,  all
44       other options are ignored.
45
46
47

OPTIONS

49              --resources value, -r value  path to the file containing the resources to update or '-' to read from the standard input
50              --blkio-weight value         Specifies per cgroup weight, range is from 10 to 1000 (default: 0)
51              --cpu-period value           CPU CFS period to be used for hardcapping (in usecs). 0 to use system default
52              --cpu-quota value            CPU CFS hardcap limit (in usecs). Allowed cpu time in a given period
53              --cpu-rt-period value        CPU realtime period to be used for hardcapping (in usecs). 0 to use system default
54              --cpu-rt-runtime value       CPU realtime hardcap limit (in usecs). Allowed cpu time in a given period
55              --cpu-share value            CPU shares (relative weight vs. other containers)
56              --cpuset-cpus value          CPU(s) to use
57              --cpuset-mems value          Memory node(s) to use
58              --kernel-memory value        Kernel memory limit (in bytes)
59              --kernel-memory-tcp value    Kernel memory limit (in bytes) for tcp buffer
60              --memory value               Memory limit (in bytes)
61              --memory-reservation value   Memory reservation or soft_limit (in bytes)
62              --memory-swap value          Total memory usage (memory + swap); set '-1' to enable unlimited swap
63              --pids-limit value           Maximum number of pids allowed in the container (default: 0)
64              --l3-cache-schema            The string of Intel RDT/CAT L3 cache schema
65              --mem-bw-schema              The string of Intel RDT/MBA memory bandwidth schema
66
67
68
69
70                                                                runc-update(8)
Impressum