mirror of
https://github.com/containers/podman
synced 2024-10-20 17:23:30 +00:00
c18ad2bfd9
the podman generate systemd command will generate a systemd unit file based on the attributes of an existing container and user inputs. the command outputs the unit file to stdout for the user to copy or redirect. it is enabled for the remote client as well. users can set a restart policy as well as define a stop timeout override for the container. Signed-off-by: baude <bbaude@redhat.com>
21 lines
906 B
Markdown
21 lines
906 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 a systemd unit file for a container. |
|
|
|
|
## SEE ALSO
|
|
podman, podman-pod, podman-container
|