现象如题,就是/var/lib/docker/vfs/dir/下某个目录(7ee2221215e4a86d2ac727d980f91311c279bb10e82947e7ec19729e5be49ce8/version-2)占用了600多GB空间,导致机器磁盘使用率100%!
本人已经使用docker 命令对dangling=true,状态为exited的镜像和容器进行了删除,也就是说能删除的镜像和容器都删除了,剩下的都是不能删除的(报confict),但是上述600多g的空间始终没有释放。
docker info如下,哪位大神又遇见过这种问题没?麻烦给些提示,不胜感激!
[root@localhost version-2]# docker info
Containers: 21
Images: 596
Storage Driver: devicemapper
Pool Name: docker-253:0-138574365-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 10.37 GB
Data Space Total: 107.4 GB
Data Space Available: 2.049 GB
Metadata Space Used: 22.32 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.049 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.107-RHEL7 (2016-06-09)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.10.0-229.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 8
Total Memory: 15.5 GiB
Name: localhost.localdomain
ID: OTGV:4ZNH:WK7L:7LST:Y3TB:U3GH:HW3U:Z2WQ:4M23:ZA73:DOYB:U6IL