Skip to content

Commit

Permalink
Add notes to "--oom-kill-disable" not supported on cgroups V2
Browse files Browse the repository at this point in the history
Clarify "--oom-kill-disable" is not supported on cgroups V2 in
documentation.

Signed-off-by: Tsubasa Watanabe <[email protected]>
  • Loading branch information
ttsuuubasa authored and patrycja-guzik committed Feb 15, 2022
1 parent 7c724fc commit 9dcde30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/markdown/podman-create.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,8 @@ This option conflicts with **--add-host**.

Whether to disable OOM Killer for the container or not.

This flag is not supported on cgroups V2 systems.

#### **--oom-score-adj**=*num*

Tune the host's OOM preferences for containers (accepts -1000 to 1000)
Expand Down
2 changes: 2 additions & 0 deletions docs/source/markdown/podman-run.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,8 @@ This option conflicts with **--add-host**.

Whether to disable OOM Killer for the container or not.

This flag is not supported on cgroups V2 systems.

#### **--oom-score-adj**=*num*

Tune the host's OOM preferences for containers (accepts values from **-1000** to **1000**).
Expand Down

0 comments on commit 9dcde30

Please sign in to comment.