podman-build/docs/build/man/podman-unpause.1
2025-10-11 12:30:35 +09:00

126 lines
2.9 KiB
Groff

'\" t
.nh
.TH podman-unpause 1
.SH NAME
podman-unpause \- Unpause one or more containers
.SH SYNOPSIS
\fBpodman unpause\fP [\fIoptions\fP]|[\fIcontainer\fP ...]
.PP
\fBpodman container unpause\fP [\fIoptions\fP]|[\fIcontainer\fP ...]
.SH DESCRIPTION
Unpauses the processes in one or more containers. Container IDs or names can be used as input.
.SH OPTIONS
.SS \fB--all\fP, \fB-a\fP
Unpause all paused containers.
.SS \fB--cidfile\fP=\fIfile\fP
Read container ID from the specified \fIfile\fP and unpause the container.
Can be specified multiple times.
.SS \fB--filter\fP, \fB-f\fP=\fIfilter\fP
Filter what containers unpause.
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', 'initialized', '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}
command T{
[Command] the command the container is executing, only argv[0] is taken
T}
.TE
.SS \fB--latest\fP, \fB-l\fP
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
Unpause specified container:
.EX
podman unpause mywebserver
.EE
.PP
Unpause container by a partial container ID:
.EX
podman unpause 860a4b23
.EE
.PP
Unpause all \fBpaused\fP containers:
.EX
podman unpause --all
.EE
.PP
Unpause container using ID specified in given files:
.EX
podman unpause --cidfile /home/user/cidfile-1
podman unpause --cidfile /home/user/cidfile-1 --cidfile ./cidfile-2
.EE
.PP
Unpause the latest container. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines):
.EX
podman unpause --latest
.EE
.SH SEE ALSO
\fBpodman(1)\fP, \fBpodman-pause(1)\fP
.SH HISTORY
September 2017, Originally compiled by Dan Walsh dwalsh@redhat.com
\[la]mailto:dwalsh@redhat.com\[ra]