Back to Ohmyzsh

Podman plugin

plugins/podman/README.md

latest5.4 KB
Original Source

Podman plugin

This plugin adds auto-completion and aliases for podman.

To use it add podman to the plugins array in your zshrc file.

zsh
plugins=(... podman)

Aliases

AliasCommandDescription
pblpodman buildBuild an image from a Dockerfile
pcinpodman container inspectDisplay detailed information on one or more containers
pclspodman container lsList all the running podman containers
pclsapodman container ls --allList all running and stopped containers
pibpodman image buildBuild an image from a Dockerfile (same as podman build)
piipodman image inspectDisplay detailed information on one or more images
pilspodman image lsList podman images
pipupodman image pushPush an image or repository to a remote registry
pirmpodman image rmRemove one or more images
pitpodman image tagAdd a name and tag to a particular image
plopodman container logsFetch the logs of a podman container
pncpodman network createCreate a new network
pncnpodman network connectConnect a container to a network
pndcnpodman network disconnectDisconnect a container from a network
pnipodman network inspectReturn information about one or more networks
pnlspodman network lsList all networks the engine daemon knows about, including those spanning multiple hosts
pnrmpodman network rmRemove one or more networks
ppopodman container portList port mappings or a specific mapping for the container
ppupodman pullPull an image or a repository from a registry
prpodman container runCreate a new container and start it using the specified command
pritpodman container run --interactive --ttyCreate a new container and start it in an interactive shell
prmpodman container rmRemove the specified container(s)
prm!podman container rm --forceForce the removal of a running container (uses SIGKILL)
pstpodman container startStart one or more stopped containers
prspodman container restartRestart one or more containers
pstapodman stop $(podman ps -q)Stop all running containers
pstppodman container stopStop one or more running containers
ptoppodman topDisplay the running processes of a container
pvipodman volume inspectDisplay detailed information about one or more volumes
pvlspodman volume lsList all the volumes known to podman
pvprunepodman volume pruneCleanup dangling volumes
pxcpodman container execRun a new command in a running container
pxcitpodman container exec --interactive --ttyRun a new command in a running container in an interactive shell