Files
docker-cli/docs/reference/commandline/network_prune.md
lixiaobing10051267 2603a9c1dd fill the complete address because of no userguide directory
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
2017-06-02 00:10:30 +00:00

1.1 KiB

title, description, keywords
title description keywords
network prune Remove unused networks
network
prune
delete

network prune

Usage:	docker network prune [OPTIONS]

Remove all unused networks

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

Remove all unused networks. Unused networks are those which are not referenced by any containers.

Example output:

$ docker network prune
WARNING! This will remove all networks not used by at least one container.
Are you sure you want to continue? [y/N] y
Deleted Networks:
n1
n2