Skip to content

Commit 0649cdb

Browse files
committed
add documentation
Signed-off-by: Alexis Couvreur <alexiscouvreur.pro@gmail.com>
1 parent 1c145a3 commit 0649cdb

2 files changed

Lines changed: 26 additions & 16 deletions

File tree

docs/reference/commandline/container_update.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Update configuration of one or more containers
1212
| Name | Type | Default | Description |
1313
|:---------------------------------------------------|:----------|:--------|:-----------------------------------------------------------------------------|
1414
| `--blkio-weight` | `uint16` | `0` | Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0) |
15+
| `--blkio-weight-device` | `list` | | Block IO weight (relative device weight) |
1516
| `--cpu-period` | `int64` | `0` | Limit CPU CFS (Completely Fair Scheduler) period |
1617
| `--cpu-quota` | `int64` | `0` | Limit CPU CFS (Completely Fair Scheduler) quota |
1718
| `--cpu-rt-period` | `int64` | `0` | Limit the CPU real-time period in microseconds |
@@ -20,6 +21,10 @@ Update configuration of one or more containers
2021
| `--cpus` | `decimal` | | Number of CPUs |
2122
| `--cpuset-cpus` | `string` | | CPUs in which to allow execution (0-3, 0,1) |
2223
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
24+
| `--device-read-bps` | `list` | | Limit read rate (bytes per second) from a device |
25+
| `--device-read-iops` | `list` | | Limit read rate (IO per second) from a device |
26+
| `--device-write-bps` | `list` | | Limit write rate (bytes per second) to a device |
27+
| `--device-write-iops` | `list` | | Limit write rate (IO per second) to a device |
2328
| [`-m`](#memory), [`--memory`](#memory) | `bytes` | `0` | Memory limit |
2429
| `--memory-reservation` | `bytes` | `0` | Memory soft limit |
2530
| `--memory-swap` | `bytes` | `0` | Swap limit equal to memory plus swap: -1 to enable unlimited swap |

docs/reference/commandline/update.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,27 @@ Update configuration of one or more containers
99

1010
### Options
1111

12-
| Name | Type | Default | Description |
13-
|:-----------------------|:----------|:--------|:-----------------------------------------------------------------------------|
14-
| `--blkio-weight` | `uint16` | `0` | Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0) |
15-
| `--cpu-period` | `int64` | `0` | Limit CPU CFS (Completely Fair Scheduler) period |
16-
| `--cpu-quota` | `int64` | `0` | Limit CPU CFS (Completely Fair Scheduler) quota |
17-
| `--cpu-rt-period` | `int64` | `0` | Limit the CPU real-time period in microseconds |
18-
| `--cpu-rt-runtime` | `int64` | `0` | Limit the CPU real-time runtime in microseconds |
19-
| `-c`, `--cpu-shares` | `int64` | `0` | CPU shares (relative weight) |
20-
| `--cpus` | `decimal` | | Number of CPUs |
21-
| `--cpuset-cpus` | `string` | | CPUs in which to allow execution (0-3, 0,1) |
22-
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
23-
| `-m`, `--memory` | `bytes` | `0` | Memory limit |
24-
| `--memory-reservation` | `bytes` | `0` | Memory soft limit |
25-
| `--memory-swap` | `bytes` | `0` | Swap limit equal to memory plus swap: -1 to enable unlimited swap |
26-
| `--pids-limit` | `int64` | `0` | Tune container pids limit (set -1 for unlimited) |
27-
| `--restart` | `string` | | Restart policy to apply when a container exits |
12+
| Name | Type | Default | Description |
13+
|:------------------------|:----------|:--------|:-----------------------------------------------------------------------------|
14+
| `--blkio-weight` | `uint16` | `0` | Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0) |
15+
| `--blkio-weight-device` | `list` | | Block IO weight (relative device weight) |
16+
| `--cpu-period` | `int64` | `0` | Limit CPU CFS (Completely Fair Scheduler) period |
17+
| `--cpu-quota` | `int64` | `0` | Limit CPU CFS (Completely Fair Scheduler) quota |
18+
| `--cpu-rt-period` | `int64` | `0` | Limit the CPU real-time period in microseconds |
19+
| `--cpu-rt-runtime` | `int64` | `0` | Limit the CPU real-time runtime in microseconds |
20+
| `-c`, `--cpu-shares` | `int64` | `0` | CPU shares (relative weight) |
21+
| `--cpus` | `decimal` | | Number of CPUs |
22+
| `--cpuset-cpus` | `string` | | CPUs in which to allow execution (0-3, 0,1) |
23+
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
24+
| `--device-read-bps` | `list` | | Limit read rate (bytes per second) from a device |
25+
| `--device-read-iops` | `list` | | Limit read rate (IO per second) from a device |
26+
| `--device-write-bps` | `list` | | Limit write rate (bytes per second) to a device |
27+
| `--device-write-iops` | `list` | | Limit write rate (IO per second) to a device |
28+
| `-m`, `--memory` | `bytes` | `0` | Memory limit |
29+
| `--memory-reservation` | `bytes` | `0` | Memory soft limit |
30+
| `--memory-swap` | `bytes` | `0` | Swap limit equal to memory plus swap: -1 to enable unlimited swap |
31+
| `--pids-limit` | `int64` | `0` | Tune container pids limit (set -1 for unlimited) |
32+
| `--restart` | `string` | | Restart policy to apply when a container exits |
2833

2934

3035
<!---MARKER_GEN_END-->

0 commit comments

Comments
 (0)