Browse Source

Update 'README.md'

天问 1 year ago
parent
commit
169d1e3f2a
1 changed files with 20 additions and 1 deletions
  1. 20 1
      README.md

+ 20 - 1
README.md

@@ -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
+
+```