用于 Docker 镜像的可视化磁盘使用率分析器
What? A command-line tool for visually investigating the disk usage of docker images
Why? Large images are slow to move and expensive to store. They cost developer productivity by lengthening devops tasks and often contain unnecessary data
Who is this for? Primarily for engineers working with images containing Python packages.
This tool should allow you to answer questions such as:
pip install whaler➜ whaler .venv
Running bash -c cd .venv && du -a -k
Done. Serving output at http://localhost:8000 (ctrl+c to exit)
Running python3 -m http.server 8000 --directory=_whaler/htmlThe tool will pull the image first if it is not present.
whaler --image='hl:latest' /
Running docker run --rm --entrypoint=du --workdir=/ hl:latest -a -k
Ignoring what seems to be non-fatal error(s):
du: cannot access './proc/1/task/1/fd/4': No such file or directory
du: cannot access './proc/1/task/1/fdinfo/4': No such file or directory
du: cannot access './proc/1/fd/3': No such file or directory
du: cannot access './proc/1/fdinfo/3': No such file or directory
Done. Serving output at http://localhost:8000 (ctrl+c to exit)
Running python3 -m http.server 8000 --directory=_whaler/htmlPlay with a hosted demo
du to gather disk usage data. It must be present in your docker imagedu output of up to ~100MB.See .github/workflows/test.yml for the development platform and setup.
For UI, see whaler-ui
暂无开放 Issues,或尚未同步最近议题。