.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 \fB\fClabel\fR which is exclusive. Filters with different keys always work exclusive. .PP Valid filters are listed below: .TS allbox; l l l l . \fB\fC\fBFilter\fP\fR \fB\fC\fBDescription\fP\fR id T{ [ID] Container's ID (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} .TE .SS \fB--latest\fP, \fB-l\fP .PP 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. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines) .SH EXAMPLE .PP Pause container named 'mywebserver' .PP .RS .nf podman pause mywebserver .fi .RE .PP Pause container by partial container ID. .PP .RS .nf podman pause 860a4b23 .fi .RE .PP Pause all \fBrunning\fP containers. .PP .RS .nf podman pause --all .fi .RE .PP Pause container using ID specified in a given files. .PP .RS .nf podman pause --cidfile /home/user/cidfile-1 podman pause --cidfile /home/user/cidfile-1 --cidfile ./cidfile-2 .fi .RE .PP Pause the latest container created by Podman. .PP .RS .nf podman pause --latest .fi .RE .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]