dive
是一个用来查看一个 docker/OCI
镜像层的工具,并发现方法来缩小你的 docker/OCI
镜像的大小。
安装
wget https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.deb
sudo apt install ./dive_0.9.2_linux_amd64.deb
curl -OL https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.rpm
rpm -i dive_0.9.2_linux_amd64.rpm
brew install dive
使用
dive tag/id/digest