1NAME()                                                                  NAME()
2
3
4
5       runc update - update container resource constraints
6
7
8

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

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