栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

Docker.raw docker文件清理

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Docker.raw docker文件清理

docker system df 
docker system prune
```bash
% du -h
 12K	./tasks
  0B	./plugins
 14M	./log/host
 17M	./log/vm
 32M	./log
  0B	./vms/0/log
9.4G	./vms/0/data
9.4G	./vms/0
9.4G	./vms
9.5G	.

data % ls
Docker.raw
 % docker system prune
WARNING! This will remove:
  - all stopped containers
  - all networks not used by at least one container
  - all dangling images
  - all dangling build cache

Are you sure you want to continue? [y/N] y
% docker system df   
TYPE            TOTAL     ACTIVE    SIZE      RECLAIMABLE
Images          6         0         1.179GB   1.179GB (100%)
Containers      0         0         0B        0B
Local Volumes   27        0         467.7MB   467.7MB (100%)
Build Cache     8         0         0B        0B

Data % du -h
 20K	./tasks
  0B	./plugins
 15M	./log/host
 18M	./log/vm
 33M	./log
  0B	./vms/0/log
4.2G	./vms/0/data
4.2G	./vms/0
4.2G	./vms
4.3G	.

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/939923.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号