cd /var/lib/docker/overlay2
查看目录大小
[root@kube-35 overlay2]# du -sh * |grep G
1.1G 12f6bc65a717f6db5495094b859400885538fa20a90aa1cca99715c02257598f
1.6G 1e6e3ea08e710887cc3b538bcedd7f9e34ef23858908f88d9968ed6fd64b982e
4.2G 549fa8e1de990a91ba276a1729f674629eee37680cfd5448546ebe9246748cc3
1.2G 6456acbdd24e5ba771eeb32aaad4f55ddebcd0e19ae6956965668caf4efb303b
1.2G 6d7baec81dbf030fead10234125f3a14a4991253944338826628800a8a95401c
docker ps -q | xargs docker inspect --format '{{.State.Pid}}, {{.Name}}, {{.GraphDriver.Data.WorkDir}}' | grep "549fa8e1de990a91ba276a1729f674629eee37680cfd5448546ebe9246748cc3"
[root@kube-35 overlay2]# docker ps -q | xargs docker inspect --format '{{.State.Pid}}, {{.Name}}, {{.GraphDriver.Data.WorkDir}}' | grep "549fa8e1de990a91ba276a1729f674629eee37680cfd5448546ebe9246748cc3"
37270, /suspicious_kapitsa, /var/lib/docker/overlay2/549fa8e1de990a91ba276a1729f674629eee37680cfd5448546ebe9246748cc3/work