Skip to content

Latest commit

 

History

History
103 lines (100 loc) · 20.3 KB

commands-demo.md

File metadata and controls

103 lines (100 loc) · 20.3 KB

PODMAN logo

libpod - library for running OCI-based containers in Pods

Podman Commands

Command Description Demo Script
podman-attach(1) Attach to a running container
podman-build(1) Build a container image using a Containerfile
podman-commit(1) Create new image based on the changed container
podman-container(1) Manage Containers
podman-container-checkpoint(1) Checkpoints one or more running containers
podman-container-cleanup(1) Cleanup the container's network and mountpoints
podman-container-exists(1) Check if an container exists in local storage
podman-container-prune(1) Remove all stopped containers from local storage
podman-container-restore(1) Restores one or more containers from a checkpoint
podman-container-runlabel(1) Executes a command as described by a container image label
podman-cp(1) Copy files/folders between a container and the local filesystem
podman-create(1) Create a new container
podman-diff(1) Inspect changes on a container or image's filesystem
podman-events(1) Monitor Podman events
podman-exec(1) Execute a command in a running container
podman-export(1) Export container's filesystem contents as a tar archive
podman-generate(1) Generate structured output based on Podman containers and pods
podman-generate-kube(1) Generate Kubernetes YAML based on a pod or container
podman-generate-systemd(1) Generate systemd unit file(s) for a container or pod. Not supported for the remote client
podman-history(1) Shows the history of an image
podman-image(1) Manage Images
podman-image-diff(1) Inspect changes on an image's filesystem.
podman-image-exists(1) Check if an image exists in local storage
podman-image-prune(1) Remove all unused images from the local store
podman-image-search(1) Search a registry for an image.
podman-image-sign(1) Create a signature for an image
podman-image-tree(1) Prints layer hierarchy of an image in a tree format
podman-image-trust(1) Manage container registry image trust policy
podman-images(1) List images in local storage ... Here
podman-import(1) Import a tarball and save it as a filesystem image
podman-info(1) Displays Podman related system information
podman-init(1) Initialize one or more containers
podman-inspect(1) Display a container or image's configuration ... Here
podman-kill(1) Kill the main process in one or more running containers
podman-load(1) Load an image from a container image archive into container storage
podman-login(1) Login to a container registry
podman-logout(1) Logout of a container registry
podman-logs(1) Display the logs of one or more containers
podman-mount(1) Mount a working container's root filesystem
podman-network(1) Manage Podman CNI networks
podman-network-create(1) Create a CNI network
podman-network-inspect(1) Displays the raw CNI network configuration for one or more networks
podman-network-ls(1) Display a summary of CNI networks
podman-network-rm(1) Remove one or more CNI networks
podman-pause(1) Pause one or more running containers ... Here
podman-play(1) Play a pod
podman-play-kube(1) Create pods and containers based on Kubernetes YAML
podman-pod(1) Manage pods
podman-pod-create(1) Create a new pod
podman-pod-exists(1) Check if a pod exists in local storage
podman-pod-inspect(1) Displays information describing a pod
podman-pod-kill(1) Kill the main process of each container in one or more pods
podman-pod-pause(1) Pause one or more containers
podman-pod-prune(1) Remove all stopped pods and their containers
podman-pod-ps(1) Prints out information about pods
podman-pod-restart Restart one or more pods
podman-pod-rm(1) Remove one or more stopped pods and containers
podman-pod-start(1) Start one or more pods
podman-pod-stats(1) Display a live stream of resource usage stats for containers in one or more pods
podman-pod-stop(1) Stop one or more pods
podman-pod-top(1) Display the running processes of containers in a pod
podman-pod-unpause(1) Unpause one or more pods.
podman-port(1) List port mappings for a container
podman-ps(1) Prints out information about containers
podman-pull(1) Pull an image from a registry
podman-push(1) Push an image from local storage to elsewhere ...
podman-restart(1) Restarts one or more containers ...
podman-rm(1) Removes one or more containers
podman-rmi(1) Removes one or more locally stored images
podman-run(1) Run a command in a new container
podman-save(1) Save an image to a container archive
podman-search(1) Search a registry for an image
podman-start(1) Start one or more containers
podman-stats(1) Display a live stream of one or more container's resource usage statistics
podman-stop(1) Stops one or more running containers
podman-system(1) Manage podman
podman-system-df(1) Show podman disk usage.
podman-system-info(1) Displays Podman related system information.
podman-system-migrate(1) Migrate existing containers to a new podman version
podman-system-prune(1) Remove all unused container, image and volume data
podman-system-renumber(1) Migrate lock numbers to handle a change in maximum number of locks
podman-tag(1) Add an additional name to a local image ...
podman-top(1) Display the running processes of a container
podman-umount(1) Unmount a working container's root filesystem
podman-unpause(1) Unpause one or more containers ... Here
podman-unshare(1) Run a command inside of a modified user namespace
podman-varlink(1) Runs the varlink backend interface
podman-version(1) Display the Podman version information
podman-volume(1) Manage Volumes
podman-volume-create(1) Create a new volume
podman-volume-inspect(1) Get detailed information on one or more volumes
podman-volume-ls(1) List all the available volumes
podman-volume-prune(1) Remove all unused volumes
podman-volume-rm(1) Remove one or more volumes
podman-wait(1) Wait on one or more containers to stop and print their exit codes