docker ps -a -s --format "table {{.ID}}\t{{.Names}}\t{{.Size}}"
# 查询目录空间占用,用sort排序(h自动使用KB/MB/GB,r倒序)
du -h --max-depth=1 ./ |sort -hr
docker ps -a -s --format "table {{.ID}}\t{{.Names}}\t{{.Size}}"
# 查询目录空间占用,用sort排序(h自动使用KB/MB/GB,r倒序)
du -h --max-depth=1 ./ |sort -hr