Files
podman/docs/podman-container.1.md
Daniel J Walsh 7fc1a329bd Add podman container cleanup to CLI
When we run containers in detach mode, nothing cleans up the network stack or
the mount points.  This patch will tell conmon to execute the cleanup code when
the container exits.

It can also be called to attempt to cleanup previously running containers.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>

Closes: #942
Approved by: mheon
2018-06-29 15:25:21 +00:00

4.2 KiB

% podman-container "1"

NAME

podman-container - Manage containers

SYNOPSIS

**podman container SUBCOMMAND [OPTIONS]

DESCRIPTION

The container command allows you to manage containers

COMMANDS

Command Man Page Description
attach podman-attach(1) Attach to a running container.
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.
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.
refresh podman-refresh(1) Refresh the state of all containers
restart podman-restart(1) Restart one or more containers.
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.
unmount 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