1
0
mirror of https://github.com/docker/cli.git synced 2025-09-11 06:30:44 +03:00
Files
cli/docs/reference/commandline/container_prune.md
Akihiro Suda 8f0be436cd add docker network prune
`docker network prune` prunes unused networks, including overlay ones.
`docker system prune` also prunes unused networks.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-02 00:10:28 +00:00

1.2 KiB

title, description, keywords
title description keywords
container prune Remove all stopped containers
container
prune
delete
remove

container prune

Usage:	docker container prune [OPTIONS]

Remove all stopped containers

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

Examples

$ 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