Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 0031c88

Browse files
nkubaladlorenc
authored andcommitted
Specify default differ in docs (#140)
1 parent f199c27 commit 0031c88

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ container-diff analyze <img> --type=apt --type=node [Apt and Node]
5050
# --type=<analyzer1> --type=<analyzer2> --type=<analyzer3>,...
5151
```
5252

53+
By default, with no `--type` flag specified, container-diff will run Apt package analysis.
54+
5355
To use container-diff to perform a diff analysis on two images, you need two Docker images (in the form of an ID, tarball, or URL from a repo). Once you have those images, you can run any of the following differs:
5456
```
55-
container-diff diff <img1> <img2> [Run all differs]
57+
container-diff diff <img1> <img2> [Run default differs]
5658
container-diff diff <img1> <img2> --type=history [History]
5759
container-diff diff <img1> <img2> --type=file [File System]
5860
container-diff diff <img1> <img2> --type=pip [Pip]
@@ -270,7 +272,7 @@ Version differences: None
270272
271273
```
272274
```
273-
$ container-diff diff file1.tar file2.tar --types=file --filename=go/src/app/file.txt
275+
$ container-diff diff file1.tar file2.tar --type=file --filename=go/src/app/file.txt
274276
Starting diff on images file1.tar and file2.tar, using differs: [file]
275277
Retrieving image file2.tar from source Tar Archive
276278
Retrieving image file1.tar from source Tar Archive

0 commit comments

Comments
 (0)