podman-unpause(1)

πŸ’œ podman-unpause(1) β€” the glow-up edition

Okay bestie, welcome to the General Commands Manual entry for podman-unpause, and no cap this one's a little baddie: it wakes your paused containers back up. Let's get into it ✨


🌸 NAME

podman-unpause β€” Unpause one or more containers

πŸ¦‹ SYNOPSIS

podman unpause [options]|[container ...]

podman container unpause [options]|[container ...]

πŸŽ€ DESCRIPTION

Unpauses the processes in one or more containers. You can feed it container IDs or names as input β€” either one eats, fr fr.

✨ OPTIONS ✨

Here's where the real main character energy lives πŸ‘‘

  • --all, -a β€” Unpause all paused containers. Every last one. The whole group chat gets un-muted πŸ’…
  • --cidfile=file β€” Read the container ID from the file you point at and unpause that container. And yes, you can drop this flag multiple times β€” multiple cidfiles, multiple containers, go off 🫢
  • --filter, -f=filter β€” This is the "which containers are we even talking about" filter. Multiple filters? Just use --filter multiple times, easy. Now listen closely because this part is lowkey important:
    • Filters with the same key work inclusive β€” the one and only exception being label, which is exclusive.
    • Filters with different keys always work exclusive.

Valid filters, bestie, all of them, in order 🌈:

  • id β€” [ID] Container's ID (CID prefix match by default; accepts regex)
  • name β€” [Name] Container's name (accepts regex)
  • annotation β€” [Key] or [Key=Value] Annotation assigned to a container
  • annotation! β€” [Key] or [Key=Value] Annotation NOT assigned to a container
  • label β€” [Key] or [Key=Value] Label assigned to a container
  • label! β€” [Key] or [Key=Value] Label NOT assigned to a container
  • exited β€” [Int] Container's exit code
  • status β€” [Status] Container's status: 'created', 'initialized', 'running', 'stopped', 'paused', 'exited', 'removing', 'stopping', 'unknown'
  • ancestor β€” [ImageName] Image or descendant used to create container (accepts regex)
  • before β€” [ID] or [Name] Containers created before this container
  • since β€” [ID] or [Name] Containers created since this container
  • volume β€” [VolumeName] or [MountpointDestination] Volume mounted in container
  • health β€” [Status] healthy or unhealthy
  • pod β€” [Pod] name or full or partial ID of pod
  • network β€” [Network] name or full ID of network
  • restart-policy β€” [Policy] Container's restart policy (e.g., 'no', 'on-failure', 'always', 'unless-stopped')
  • until β€” [DateTime] Containers created before the given duration or time.
  • command β€” [Command] the command the container is executing, only argv[0] is taken
  • should-start-on-boot β€” [Bool] Containers that need to be restarted after system reboot. True for containers with restart policy 'always', or 'unless-stopped' that were not explicitly stopped by the user
  • --latest, -l β€” Instead of handing over a container name or ID, just grab the last created container. Iconic, lazy, love it. But β€” heads up πŸ‘€ β€” the last started container can be from other users of Podman on the host machine. Also: this option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines. Noted, no surprises later πŸ’€

πŸ”₯ EXAMPLE

Unpause specified container:

podman unpause mywebserver

Unpause container by a partial container ID:

podman unpause 860a4b23

Unpause all paused containers:

podman unpause --all

Unpause container using ID specified in given files:

podman unpause --cidfile /home/user/cidfile-1
podman unpause --cidfile /home/user/cidfile-1 --cidfile ./cidfile-2

Unpause the latest container. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines):

podman unpause --latest

🧚 SEE ALSO

podman(1), podman-pause(1)


⭐ HISTORY

September 2017, Originally compiled by Dan Walsh dwalsh@redhat.com ⟨mailto:dwalsh@redhat.com⟩ β€” a real one, we stan 🫢


πŸ’– And that's the page! Go forth and un-pause things, queen. Periodt.

Stay slay, stay paused-free β€” this has been podman-unpause(1) from the General Commands Manual, dated September 2017. Mwah πŸ’‹

πŸ“¦ where this page comes from