Skip to content

Commit

Permalink
Merge pull request #13333 from vrothberg/systemd-docs-infra-container
Browse files Browse the repository at this point in the history
[CI:DOCS] generate-systemd: pod requires an infra container
  • Loading branch information
openshift-merge-robot committed Feb 24, 2022
2 parents 0d2bd53 + e1b2981 commit 283fd60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/markdown/podman-generate-systemd.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ podman\-generate\-systemd - Generate systemd unit file(s) for a container or pod
**podman generate systemd** will create a systemd unit file that can be used to control a container or pod.
By default, the command will print the content of the unit files to stdout.

Generating unit files for a pod requires the pod to be created with an infra container (see `--infra=true`). An infra container runs across the entire lifespan of a pod and is hence required for systemd to manage the life cycle of the pod's main unit.

_Note: If you use this command with the remote client, including Mac and Windows (excluding WSL2) machines, you would still have to place the generated units on the remote system. Moreover, please make sure that the XDG_RUNTIME_DIR environment variable is set. If unset, you may set it via `export XDG_RUNTIME_DIR=/run/user/$(id -u)`._

## OPTIONS
Expand Down

0 comments on commit 283fd60

Please sign in to comment.