Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| podman [2020/01/25 10:35] – [images] rpjday | podman [2020/01/27 21:41] (current) – [stop] rpjday | ||
|---|---|---|---|
| Line 48: | Line 48: | ||
| < | < | ||
| + | $ podman images [options] | ||
| $ podman image list [options] | $ podman image list [options] | ||
| $ podman image ls [options] | $ podman image ls [options] | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | Examples: | ||
| + | podman images --format json | ||
| + | podman images --sort repository --format "table {{.ID}} {{.Repository}} {{.Tag}}" | ||
| + | podman images --filter dangling=true | ||
| + | |||
| + | Flags: | ||
| + | -a, --all Show all images (default hides intermediate images) | ||
| + | --digests | ||
| + | -f, --filter strings | ||
| + | --format string | ||
| + | --history | ||
| + | --no-trunc | ||
| + | -n, --noheading | ||
| + | -q, --quiet | ||
| + | --sort string | ||
| </ | </ | ||
| Line 105: | Line 124: | ||
| < | < | ||
| - | $ podman system info | + | $ podman |
| $ podman info --format={{" | $ podman info --format={{" | ||
| $ podman info --format={{" | $ podman info --format={{" | ||
| Line 116: | Line 135: | ||
| ==== prune ==== | ==== prune ==== | ||
| + | < | ||
| + | $ podman system prune [--all,-a] [--volumes] | ||
| + | </ | ||
| ==== renumber ==== | ==== renumber ==== | ||
| Line 129: | Line 151: | ||
| ==== exists ==== | ==== exists ==== | ||
| + | |||
| + | < | ||
| + | $ podman image exists ... | ||
| + | $ podman container exists ... | ||
| + | </ | ||
| ==== history ==== | ==== history ==== | ||
| Line 232: | Line 259: | ||
| ==== rm ==== | ==== rm ==== | ||
| + | < | ||
| + | $ podman rm ... | ||
| + | </ | ||
| ==== run ==== | ==== run ==== | ||
| Line 246: | Line 276: | ||
| < | < | ||
| $ podman [container] top -a | $ podman [container] top -a | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | The following descriptors are supported in addition to the AIX | ||
| + | format descriptors mentioned in ps (1): | ||
| + | |||
| + | args, capbnd, | ||
| + | hgroup, hpid, huser, | ||
| + | rgroup, ruser, seccomp, state, time, tty, user, vsz | ||
| </ | </ | ||
| Line 308: | Line 347: | ||
| ==== save ==== | ==== save ==== | ||
| ==== search ==== | ==== search ==== | ||
| + | |||
| + | < | ||
| + | $ podman search --limit 3 rhel | ||
| + | $ podman search alpine | ||
| + | $ podman search registry.fedoraproject.org/ | ||
| + | $ podman search --filter=is-official alpine | ||
| + | </ | ||
| ==== start ==== | ==== start ==== | ||
| ==== stats ==== | ==== stats ==== | ||
| ==== stop ==== | ==== stop ==== | ||
| + | |||
| + | < | ||
| + | $ podman stop mywebserver | ||
| + | $ podman stop 860a4b235279 | ||
| + | $ podman stop mywebserver 860a4b235279 | ||
| + | $ podman stop --cidfile / | ||
| + | $ podman stop --timeout 2 860a4b235279 | ||
| + | $ podman stop -a | ||
| + | $ podman stop --latest | ||
| + | </ | ||
| ==== tag ==== | ==== tag ==== | ||