mirror of
https://github.com/containers/podman.git
synced 2025-09-14 20:13:22 +08:00

Support generating systemd unit files for a pod. Podman generates one unit file for the pod including the PID file for the infra container's conmon process and one unit file for each container (excluding the infra container). Note that this change implies refactorings in the `pkg/systemdgen` API. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
22 lines
961 B
Markdown
22 lines
961 B
Markdown
% podman-generate(1)
|
|
|
|
## NAME
|
|
podman\-generate - Generate structured data based for a containers and pods
|
|
|
|
## SYNOPSIS
|
|
**podman generate** *subcommand*
|
|
|
|
## DESCRIPTION
|
|
The generate command will create structured output (like YAML) based on a container or pod.
|
|
|
|
## COMMANDS
|
|
|
|
| Command | Man Page | Description |
|
|
|---------|------------------------------------------------------------|-------------------------------------------------------------------------------------|
|
|
| kube | [podman-generate-kube(1)](podman-generate-kube.1.md) | Generate Kubernetes YAML based on a pod or container. |
|
|
| systemd | [podman-generate-systemd(1)](podman-generate-systemd.1.md) | Generate systemd unit file(s) for a container. Not supported for the remote client. |
|
|
|
|
|
|
## SEE ALSO
|
|
podman, podman-pod, podman-container
|