summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-01 05:43:43 -0400
committerGitHub <noreply@github.com>2021-09-01 05:43:43 -0400
commit331b35996f8e94dac42ca188ff383a5179a4c2bc (patch)
treecd7b9b7e2b9552c51be89c9192add605dfa9c6cf /docs
parentbebaef26fdd5d3ae8a29f04d36c437f316fc1bc8 (diff)
parentf9a689f3ed016fcb9e4d9c0614ee9979b1e8ecd7 (diff)
downloadpodman-331b35996f8e94dac42ca188ff383a5179a4c2bc.tar.gz
podman-331b35996f8e94dac42ca188ff383a5179a4c2bc.tar.bz2
podman-331b35996f8e94dac42ca188ff383a5179a4c2bc.zip
Merge pull request #11371 from vrothberg/fix-11370
[CI:DOCS] generate systemd: clarify limitations of `--new`
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-generate-systemd.1.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-generate-systemd.1.md b/docs/source/markdown/podman-generate-systemd.1.md
index 357120381..8393aec11 100644
--- a/docs/source/markdown/podman-generate-systemd.1.md
+++ b/docs/source/markdown/podman-generate-systemd.1.md
@@ -32,6 +32,8 @@ Use the name of the container for the start, stop, and description in the unit f
Using this flag will yield unit files that do not expect containers and pods to exist. Instead, new containers and pods are created based on their configuration files. The unit files are created best effort and may need to be further edited; please review the generated files carefully before using them in production.
+Note that `--new` only works on containers and pods created directly via Podman (i.e., `podman [container] {create,run}` or `podman pod create`). It does not work on containers or pods created via the REST API or via `podman play kube`.
+
#### **--no-header**
Do not generate the header including meta data such as the Podman version and the timestamp.