Podman

Podman (pd*): same shape as the docker module.

File aliases/podman.sh. Disable: export ALIASX_DISABLE="podman"

Containers and images

NameRunsWhat it does
pdpodmanpodman
pdpspodman psrunning containers
pdpsapodman ps --allall containers
pdipodman imagesimages
pdvolpodman volume lsvolumes
pdpodspodman pod pspods
pdlogpodman logscontainer logs
pdlogfpodman logs --follow --tail 200follow last 200 log lines
pdstatspodman statslive resource usage
pdbuildpodman buildbuild image
pdpullpodman pullpull image
pddfpodman system dfpodman disk usage
pdsh CONTAINER [CMD]shell into container (bash, else sh)
example
$ pdsh api
root@4f2a9c1b:/app#
pdrun IMAGE [CMD]run throwaway interactive container
example
$ pdrun alpine
/ #
pdpruneshow usage, then podman system prune after y/N
example
$ pdprune
TYPE     TOTAL  RECLAIMABLE
Images   9      1.1GB (40%)
Prune unused Podman data? [y/N] n
Cancelled.

Compose

NameRunsWhat it does
pdcpodman composepodman compose
pdcupodman compose upcompose up
pdcudpodman compose up --detachcompose up in background
pdcdpodman compose downcompose down
pdcpspodman compose pscompose services
pdclfpodman compose logs --follow --tail 200follow compose logs