|
@@ -1,3 +1,22 @@
|
|
|
# dive
|
|
|
|
|
|
-Docker 镜像分析工具,发现重复文件,构建镜像
|
|
|
+Docker 镜像分析工具,发现重复文件,构建镜像
|
|
|
+
|
|
|
+## Usage
|
|
|
+
|
|
|
+```
|
|
|
+alias dive="docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock wagoodman/dive"
|
|
|
+dive nginx:latest
|
|
|
+dive build -t <some-tag> .
|
|
|
+
|
|
|
+
|
|
|
+docker pull wagoodman/dive
|
|
|
+
|
|
|
+```
|
|
|
+
|
|
|
+## Develop
|
|
|
+
|
|
|
+```
|
|
|
+go get github.com/wagoodman/dive
|
|
|
+
|
|
|
+```
|