'\" t .nh .TH podman-start 1 .SH NAME .PP podman-start - Start one or more containers .SH SYNOPSIS .PP \fBpodman start\fP [\fIoptions\fP] \fIcontainer\fP ... .PP \fBpodman container start\fP [\fIoptions\fP] \fIcontainer\fP ... .SH DESCRIPTION .PP Start one or more containers using container IDs or names as input. The \fIattach\fP and \fIinteractive\fP options cannot be used to override the \fI--tty\fP and \fI--interactive\fP options from when the container was created. Starting an already running container with the \fI--attach\fP option, Podman simply attaches to the container. .SH OPTIONS .SS \fB--all\fP .PP Start all the containers, default is only running containers. .SS \fB--attach\fP, \fB-a\fP .PP Attach container's STDOUT and STDERR. The default is false. This option cannot be used when starting multiple containers. .SS \fB--detach-keys\fP=\fIsequence\fP .PP Specify the key sequence for detaching a container. Format is a single character \fB[a-Z]\fR or one or more \fBctrl-\fR characters where \fB\fR is one of: \fBa-z\fR, \fB@\fR, \fB^\fR, \fB[\fR, \fB,\fR or \fB_\fR\&. Specifying "" disables this feature. The default is \fIctrl-p,ctrl-q\fP\&. .PP This option can also be set in \fBcontainers.conf\fP(5) file. .SS \fB--filter\fP, \fB-f\fP .PP Filter what containers are going to be started from the given arguments. Multiple filters can be given with multiple uses of the --filter flag. Filters with the same key work inclusive with the only exception being \fBlabel\fR which is exclusive. Filters with different keys always work exclusive. .PP Valid filters are listed below: .TS allbox; l l l l . \fB\fBFilter\fP\fP \fB\fBDescription\fP\fP id T{ [ID] Container's ID (CID prefix match by default; accepts regex) T} name T{ [Name] Container's name (accepts regex) T} label T{ [Key] or [Key=Value] Label assigned to a container T} exited [Int] Container's exit code status T{ [Status] Container's status: 'created', 'exited', 'paused', 'running', 'unknown' T} ancestor T{ [ImageName] Image or descendant used to create container T} before T{ [ID] or [Name] Containers created before this container T} since T{ [ID] or [Name] Containers created since this container T} volume T{ [VolumeName] or [MountpointDestination] Volume mounted in container T} health [Status] healthy or unhealthy pod T{ [Pod] name or full or partial ID of pod T} network T{ [Network] name or full ID of network T} until T{ [DateTime] Containers created before the given duration or time. T} .TE .SS \fB--interactive\fP, \fB-i\fP .PP When set to \fBtrue\fP, keep stdin open even if not attached. The default is \fBfalse\fP\&. .SS \fB--latest\fP, \fB-l\fP .PP Instead of providing the container name or ID, use the last created container. Note: the last started container can be from other users of Podman on the host machine. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines) .SS \fB--sig-proxy\fP .PP Proxy received signals to the container process. SIGCHLD, SIGURG, SIGSTOP, and SIGKILL are not proxied. .PP The default is \fBtrue\fP when attaching, \fBfalse\fP otherwise. .SH EXAMPLE .PP Start specified container: .EX podman start mywebserver .EE .PP Start multiple containers: .EX podman start 860a4b231279 5421ab43b45 .EE .PP Start specified container in interactive mode with terminal attached: .EX podman start --interactive --attach 860a4b231279 .EE .PP Start last created container in interactive mode (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines): .EX podman start -i -l .EE .SH SEE ALSO .PP \fBpodman(1)\fP .SH HISTORY .PP November 2018, Originally compiled by Brent Baude bbaude@redhat.com \[la]mailto:bbaude@redhat.com\[ra]