podman

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
podman [2020/01/25 10:32] – [version] rpjdaypodman [2020/01/27 21:41] (current) – [stop] rpjday
Line 46: Line 46:
  
 ==== images ==== ==== images ====
 +
 +<code>
 +$ podman images [options]
 +$ podman image list [options]
 +$ podman image ls [options]
 +</code>
 +
 +<code>
 +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          Show digests
 +  -f, --filter strings   Filter output based on conditions provided (default [])
 +      --format string    Change the output format to JSON or a Go template
 +      --history          Display the image name history
 +      --no-trunc         Do not truncate output
 +  -n, --noheading        Do not print column headings
 +  -q, --quiet            Display only image IDs
 +      --sort string      Sort by created, id, repository, size, or tag (default "created")
 +</code>
  
 <code> <code>
Line 100: Line 124:
  
 <code> <code>
-$ podman system info+$ podman [systeminfo
 $ podman info --format={{".host"}} $ podman info --format={{".host"}}
 $ podman info --format={{".registries"}} $ podman info --format={{".registries"}}
Line 111: Line 135:
 ==== prune ==== ==== prune ====
  
 +<code>
 +$ podman system prune [--all,-a] [--volumes]
 +</code>
 ==== renumber ==== ==== renumber ====
  
Line 124: Line 151:
  
 ==== exists ==== ==== exists ====
 +
 +<code>
 +$ podman image exists ...
 +$ podman container exists ...
 +</code>
  
 ==== history ==== ==== history ====
Line 227: Line 259:
 ==== rm ==== ==== rm ====
  
 +<code>
 +$ podman rm ...
 +</code>
 ==== run ==== ==== run ====
  
Line 241: Line 276:
 <code> <code>
 $ podman [container] top -a $ podman [container] top -a
 +</code>
 +
 +<code>
 +The following descriptors are supported in addition to the  AIX
 +format descriptors mentioned in ps (1):
 +
 +args,  capbnd,  capeff,  capinh,  capprm,  comm,  etime, group,
 +hgroup, hpid,  huser,  label,  nice,  pcpu,  pgid,  pid,  ppid,
 +rgroup, ruser, seccomp, state, time, tty, user, vsz
 </code> </code>
  
Line 303: Line 347:
 ==== save ==== ==== save ====
 ==== search ==== ==== search ====
 +
 +<code>
 +$ podman search --limit 3 rhel
 +$ podman search alpine
 +$ podman search registry.fedoraproject.org/fedora
 +$ podman search --filter=is-official alpine
 +</code>
 ==== start ==== ==== start ====
 ==== stats ==== ==== stats ====
 ==== stop ==== ==== stop ====
 +
 +<code>
 +$ podman stop mywebserver
 +$ podman stop 860a4b235279
 +$ podman stop mywebserver 860a4b235279
 +$ podman stop --cidfile /home/user/cidfile-1
 +$ podman stop --timeout 2 860a4b235279
 +$ podman stop -a
 +$ podman stop --latest
 +</code>
  
 ==== tag ==== ==== tag ====
  • podman.1579948362.txt.gz
  • Last modified: 2020/01/25 10:32
  • by rpjday