Skip to content

Commit

Permalink
Merge pull request #15604 from edsantiago/docs_dedup_deviceXY
Browse files Browse the repository at this point in the history
[CI:DOCS] Man pages: refactor common options: --device-X-Y
  • Loading branch information
openshift-merge-robot authored Sep 2, 2022
2 parents 4cbc477 + 3d09d47 commit 0e66f75
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/source/markdown/options/device-read-bps.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

Limit read rate (in bytes per second) from a device (e.g. **--device-read-bps=/dev/sda:1mb**).

On some systems, changing the resource limits may not be allowed for non-root
users. For more details, see
https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-resource-limits-fails-with-a-permissions-error

This option is not supported on cgroups V1 rootless systems.
4 changes: 4 additions & 0 deletions docs/source/markdown/options/device-read-iops.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

Limit read rate (in IO operations per second) from a device (e.g. **--device-read-iops=/dev/sda:1000**).

On some systems, changing the resource limits may not be allowed for non-root
users. For more details, see
https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-resource-limits-fails-with-a-permissions-error

This option is not supported on cgroups V1 rootless systems.
4 changes: 4 additions & 0 deletions docs/source/markdown/options/device-write-bps.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

Limit write rate (in bytes per second) to a device (e.g. **--device-write-bps=/dev/sda:1mb**).

On some systems, changing the resource limits may not be allowed for non-root
users. For more details, see
https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-resource-limits-fails-with-a-permissions-error

This option is not supported on cgroups V1 rootless systems.
4 changes: 4 additions & 0 deletions docs/source/markdown/options/device-write-iops.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

Limit write rate (in IO operations per second) to a device (e.g. **--device-write-iops=/dev/sda:1000**).

On some systems, changing the resource limits may not be allowed for non-root
users. For more details, see
https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-resource-limits-fails-with-a-permissions-error

This option is not supported on cgroups V1 rootless systems.
2 changes: 1 addition & 1 deletion docs/source/markdown/podman-create.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ device. The devices that podman will load modules when necessary are:

@@option device-cgroup-rule

#### **--device-read-bps**=*path*
@@option device-read-bps

@@option device-read-iops

Expand Down

0 comments on commit 0e66f75

Please sign in to comment.