network prune 删除所有未使用网络
最后更新于:2022-04-02 03:05:17
[TOC]
## docker network prune
- 删除所有未使用的网络
- 未使用的网络是指那些没有被任何容器引用的网络
## 示例
```
$ docker network prune
WARNING! This will remove all custom networks not used by at least one container.
Are you sure you want to continue? [y/N] y
Deleted Networks:
n1
n2
```
';