mirror of
https://github.com/containers/podman.git
synced 2025-05-25 11:06:18 +08:00

It is desirable to have a shortcut for the most recently created container. We can now use "**latest" to represent the most recent container instead of its container ID or name. For example: Signed-off-by: baude <bbaude@redhat.com> Closes: #179 Approved by: baude
51 lines
1.3 KiB
Markdown
51 lines
1.3 KiB
Markdown
% podman(1) podman-start - Stop one or more containers
|
|
% Brent Baude
|
|
# podman-start "1" "November 2017" "podman"
|
|
|
|
## NAME
|
|
podman start - Start one or more containers
|
|
|
|
## SYNOPSIS
|
|
**podman start [OPTIONS] CONTAINER [...]**
|
|
|
|
## DESCRIPTION
|
|
Start one or more containers. You may use container IDs or names as input. The *attach* and *interactive*
|
|
options cannot be used to override the *--tty** and *--interactive* options from when the container
|
|
was created.
|
|
|
|
## OPTIONS
|
|
|
|
**--attach, -a**
|
|
|
|
Attach container's STDOUT and STDERR. The default is false. This option cannot be used when
|
|
starting multiple containers.
|
|
|
|
**--detach-keys**
|
|
|
|
Override the key sequence for detaching a container. Format is a single character [a-Z] or
|
|
ctrl-<value> where <value> is one of: a-z, @, ^, [, , or _.
|
|
|
|
**--interactive, -i**
|
|
|
|
Attach container's STDIN. The default is false.
|
|
|
|
**--latest, -l**
|
|
Instead of providing the container name or ID, use the last created container. If you use methods other than Podman
|
|
to run containers such as CRI-O, the last started container could be from either of those methods.
|
|
|
|
## EXAMPLE
|
|
|
|
podman start mywebserver
|
|
|
|
podman start 860a4b23 5421ab4
|
|
|
|
podman start -i -a 860a4b23
|
|
|
|
podman start -i -l
|
|
|
|
## SEE ALSO
|
|
podman(1), podman-create(1)
|
|
|
|
## HISTORY
|
|
November 2018, Originally compiled by Brent Baude <bbaude@redhat.com>
|