Files
docker-cli/components/cli/docs/reference/commandline/container_prune.md
Kenfe-Mickael Laventure 86244a53b9 Add documentation for container, volume, image and system prune subcommands
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Upstream-commit: 4705d82098
Component: cli
2017-06-02 00:10:12 +00:00

863 B

container prune

Usage:	docker container prune

Remove all stopped containers

Options:
  -f, --force   Do not prompt for confirmation
      --help    Print usage

Example output:

$ docker container prune
WARNING! This will remove all stopped containers.
Are you sure you want to continue? [y/N] y
Deleted Containers:
4a7f7eebae0f63178aff7eb0aa39cd3f0627a203ab2df258c1a00b456cf20063
f98f9c2aa1eaf727e4ec9c0283bc7d4aa4762fbdba7f26191f26c97f64090360

Total reclaimed space: 212 B