mirror of
https://github.com/containers/podman.git
synced 2025-06-14 20:44:53 +08:00

Support the `--pod-id-file` flag in the rm, start and stop pod commands. This completes the already support flag in pod-create and is another prerequisite for generating generic systemd unit files for pods. Also add completions, docs and tests. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
46 lines
922 B
Markdown
46 lines
922 B
Markdown
% podman-pod-start(1)
|
|
|
|
## NAME
|
|
podman\-pod\-start - Start one or more pods
|
|
|
|
## SYNOPSIS
|
|
**podman pod start** [*options*] *pod* ...
|
|
|
|
## DESCRIPTION
|
|
Start containers in one or more pods. You may use pod IDs or names as input. The pod must have a container attached
|
|
to be started.
|
|
|
|
## OPTIONS
|
|
|
|
**--all**, **-a**
|
|
|
|
Starts all pods
|
|
|
|
**--latest**, **-l**
|
|
|
|
Instead of providing the pod name or ID, start the last created pod.
|
|
|
|
The latest option is not supported on the remote client.
|
|
|
|
**--pod-id-file**
|
|
|
|
Read pod ID from the specified file and start the pod. Can be specified multiple times.
|
|
|
|
## EXAMPLE
|
|
|
|
podman pod start mywebserverpod
|
|
|
|
podman pod start 860a4b23 5421ab4
|
|
|
|
podman pod start --latest
|
|
|
|
podman pod start --all
|
|
|
|
podman pod start --pod-id-file /path/to/id/file
|
|
|
|
## SEE ALSO
|
|
podman-pod(1), podman-pod-stop(1), podman-start(1)
|
|
|
|
## HISTORY
|
|
July 2018, Adapted from podman start man page by Peter Hunt <pehunt@redhat.com>
|