Podman
Podman (pd*): same shape as the docker module.
File aliases/podman.sh. Disable: export ALIASX_DISABLE="podman"
Containers and images
| Name | Runs | What it does | |
|---|---|---|---|
pd | podman | podman | |
pdps | podman ps | running containers | |
pdpsa | podman ps --all | all containers | |
pdi | podman images | images | |
pdvol | podman volume ls | volumes | |
pdpods | podman pod ps | pods | |
pdlog | podman logs | container logs | |
pdlogf | podman logs --follow --tail 200 | follow last 200 log lines | |
pdstats | podman stats | live resource usage | |
pdbuild | podman build | build image | |
pdpull | podman pull | pull image | |
pddf | podman system df | podman disk usage | |
pdsh CONTAINER [CMD] | shell into container (bash, else sh)example$ pdsh api
root@4f2a9c1b:/app# | ||
pdrun IMAGE [CMD] | run throwaway interactive containerexample$ pdrun alpine
/ # | ||
pdprune | show usage, then podman system prune after y/Nexample$ pdprune
TYPE TOTAL RECLAIMABLE
Images 9 1.1GB (40%)
Prune unused Podman data? [y/N] n
Cancelled. |
Compose
| Name | Runs | What it does | |
|---|---|---|---|
pdc | podman compose | podman compose | |
pdcu | podman compose up | compose up | |
pdcud | podman compose up --detach | compose up in background | |
pdcd | podman compose down | compose down | |
pdcps | podman compose ps | compose services | |
pdclf | podman compose logs --follow --tail 200 | follow compose logs |