云计算核心技术Docker教程:prune 命令详解
prune 命令用来删除不再使用的 docker云计 对象。
删除所有未被 tag 标记和未被容器使用的镜像:
$ d算核ocker image prune
WARNING!心技 This will remove all danglin术Dg images.
Are you sure you wantoc to continue? [y/N] y
删除所有未被容器ke使用的镜像:
$ docker image prune -a
删r教除所有停止运行的容器:
$ docker conta程:iner prune
删除所有未被挂载的卷:
$ dprocker volume prune
删除所有网络:
$un docker network prune
删除 dockee r 所有资源:
$ docker system prune
本文地址:http://0ey.sincityrocks.com/news/7f55894411.html
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。