mirror of
https://github.com/containers/podman.git
synced 2025-05-22 01:27:07 +08:00

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>
906 B
906 B
% 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) | Generate Kubernetes YAML based on a pod or container. |
systemd | podman-generate-systemd(1) | Generate a systemd unit file for a container. |
SEE ALSO
podman, podman-pod, podman-container