.nh .TH podman-pause 1 .SH NAME .PP podman-pause - Pause one or more containers .SH SYNOPSIS .PP \fBpodman pause\fP [\fIoptions\fP] [\fIcontainer\fP\&...] .PP \fBpodman container pause\fP [\fIoptions\fP] [\fIcontainer\fP\&...] .SH DESCRIPTION .PP Pauses all the processes in one or more containers. You may use container IDs or names as input. .SH OPTIONS .SS \fB--all\fP, \fB-a\fP .PP Pause all running containers. .SS \fB--cidfile\fP=\fIfile\fP .PP Read container ID from the specified \fIfile\fP and pause the container. Can be specified multiple times. .SS \fB--filter\fP, \fB-f\fP=\fIfilter\fP .PP Filter what containers pause. 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] container created before the given duration or time. T} .TE .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) .SH EXAMPLE .PP Pause container named 'mywebserver' .EX podman pause mywebserver .EE .PP Pause container by partial container ID. .EX podman pause 860a4b23 .EE .PP Pause all \fBrunning\fP containers. .EX podman pause --all .EE .PP Pause container using ID specified in a given files. .EX podman pause --cidfile /home/user/cidfile-1 podman pause --cidfile /home/user/cidfile-1 --cidfile ./cidfile-2 .EE .PP Pause the latest container created by Podman. .EX podman pause --latest .EE .SH SEE ALSO .PP \fBpodman(1)\fP, \fBpodman-unpause(1)\fP .SH HISTORY .PP September 2017, Originally compiled by Dan Walsh dwalsh@redhat.com \[la]mailto:dwalsh@redhat.com\[ra]