From 009d9eb679a5f3e7167c5df5fec2afd6b44a3042 Mon Sep 17 00:00:00 2001 From: Tsubasa Watanabe Date: Mon, 31 Jan 2022 17:14:46 +0900 Subject: Add notes to "--oom-kill-disable" not supported on cgroups V2 Clarify "--oom-kill-disable" is not supported on cgroups V2 in documentation. Signed-off-by: Tsubasa Watanabe --- docs/source/markdown/podman-create.1.md | 2 ++ docs/source/markdown/podman-run.1.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/source/markdown/podman-create.1.md b/docs/source/markdown/podman-create.1.md index f14098bcd..16b358745 100644 --- a/docs/source/markdown/podman-create.1.md +++ b/docs/source/markdown/podman-create.1.md @@ -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) diff --git a/docs/source/markdown/podman-run.1.md b/docs/source/markdown/podman-run.1.md index 59f36f67d..014b50c6c 100644 --- a/docs/source/markdown/podman-run.1.md +++ b/docs/source/markdown/podman-run.1.md @@ -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**). -- cgit v1.2.3-54-g00ecf