podman/docs/podman-container.1.md
baude e037427035 Add ability to prune containers and images
Allow user to prune unused/unnamed images, the layer images from building,
via podman rmi --prune.

Allow user to prune stopped/exiuted containers via podman rm --prune.

This should resolve #1910

Signed-off-by: baude <bbaude@redhat.com>
2018-12-05 19:57:54 -06:00

4.7 KiB

% podman-container(1)

NAME

podman-container - Manage containers

SYNOPSIS

podman container subcommand

DESCRIPTION

The container command allows you to manage containers

COMMANDS

Command Man Page Description
attach podman-attach(1) Attach to a running container.
checkpoint podman-container-checkpoint(1) Checkpoints one or more containers.
cleanup podman-container-cleanup(1) Cleanup containers network and mountpoints.
commit podman-commit(1) Create new image based on the changed container.
create podman-create(1) Create a new container.
diff podman-diff(1) Inspect changes on a container or image's filesystem.
exec podman-exec(1) Execute a command in a running container.
exists podman-exists(1) Check if a container exists in local storage
export podman-export(1) Export a container's filesystem contents as a tar archive.
inspect podman-inspect(1) Display a container or image's configuration.
kill podman-kill(1) Kill the main process in one or more containers.
logs podman-logs(1) Display the logs of a container.
ls podman-ps(1) Prints out information about containers.
mount podman-mount(1) Mount a working container's root filesystem.
pause podman-pause(1) Pause one or more containers.
port podman-port(1) List port mappings for the container.
prune podman-container-prune(1) Remove all stopped containers from local storage
refresh podman-refresh(1) Refresh the state of all containers
restart podman-restart(1) Restart one or more containers.
restore podman-container-restore(1) Restores one or more containers from a checkpoint.
rm podman-rm(1) Remove one or more containers.
run podman-run(1) Run a command in a container.
start podman-start(1) Starts one or more containers.
stats podman-stats(1) Display a live stream of one or more container's resource usage statistics.
stop podman-stop(1) Stop one or more running containers.
top podman-top(1) Display the running processes of a container.
umount podman-umount(1) Unmount a working container's root filesystem.
unpause podman-unpause(1) Unpause one or more containers.
wait podman-wait(1) Wait on one or more containers to stop and print their exit codes.

SEE ALSO

podman, podman-exec, podman-run