podman/commands.md
baude c18ad2bfd9 Generate systemd unit files for containers
the podman generate systemd command will generate a systemd unit file
based on the attributes of an existing container and user inputs.  the
command outputs the unit file to stdout for the user to copy or
redirect.  it is enabled for the remote client as well.

users can set a restart policy as well as define a stop timeout
override for the container.

Signed-off-by: baude <bbaude@redhat.com>
2019-05-02 14:35:53 -05:00

13 KiB

PODMAN logo

libpod - library for running OCI-based containers in Pods

Podman Commands

Command Description Demo Script
podman(1) Simple management tool for pods and images
podman-attach(1) Attach to a running container
podman-build(1) Build an image using instructions from Dockerfiles
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 Container storage and networks
podman-container-exists(1) Check if an container exists in local storage
podman-container-prune(1) Remove all stopped containers
podman-container-refresh(1) Refresh all containers state in database
podman-container-restore(1) Restores one or more running containers
podman-container-runlabel(1) Execute Image Label Method
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 container or Pod
podman-generate-systemd(1) Generate a Systemd unit file for a container
podman-history(1) Shows the history of an image
podman-image(1) Manage Images
podman-image-exists(1) Check if an image exists in local storage
podman-image-prune(1) Remove all unused images
podman-image-sign(1) Create a signature for an image
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) Display system information
podman-init(1) Initialize a container
podman-inspect(1) Display the configuration of a container or image ...
podman-kill(1) Kill the main process in one or more running containers
podman-load(1) Load an image from a container image archive
podman-login(1) Login to a container registry
podman-logout(1) Logout of a container registry
podman-logs(1) Display the logs of a container
podman-mount(1) Mount a working container's root filesystem
podman-pause(1) Pause one or more running containers ...
podman-play(1) Play pods and containers based on a structured input file
podman-pod(1) Simple management tool for groups of containers, called pods
podman-pod-create(1) Create a new pod
podman-pod-inspect(1) Inspect a pod
podman-pod-kill(1) Kill the main process of each container in pod.
podman-pod-ps(1) List the pods on the system
podman-pod-pause(1) Pause one or more pods.
podman-pod-restart Restart one or more pods
podman-pod-rm(1) Remove one or more pods
podman-pod-start(1) Start one or more pods
podman-pod-stats(1) Display a live stream of one or more pods' resource usage statistics
podman-pod-stop(1) Stop one or more pods
podman-pod-top(1) Display the running processes of a pod
podman-pod-unpause(1) Unpause one or more pods.
podman-port(1) List port mappings for running containers
podman-ps(1) Prints out information about containers
podman-pull(1) Pull an image from a registry
podman-push(1) Push an image to a specified destination ...
podman-restart Restarts one or more containers ...
podman-rm(1) Removes one or more containers
podman-rmi(1) Removes one or more images
podman-run(1) Run a command in a container
podman-save(1) Saves an image to an archive
podman-search(1) Search a registry for an image
podman-start(1) Starts one or more containers
podman-stats(1) Display a live stream of one or more containers' resource usage statistics
podman-stop(1) Stops one or more running containers
podman-system(1) Manage podman
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 running containers ...
podman-varlink(1) Run the varlink backend
podman-version(1) Display the version information
podman-volume(1) Manage Volumes
podman-volume-create(1) Create a volume
podman-volume-inspect(1) Get detailed information on one or more volumes
podman-volume-ls(1) List all the available volumes
podman-volume-rm(1) Remove one or more volumes
podman-volume-prune(1) Remove all unused volumes
podman-wait(1) Wait on one or more containers to stop and print their exit codes