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

Commit 7320b9b

Browse files
committed
add local vs remote image example
1 parent 17e33eb commit 7320b9b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ All of the analyzer flags with their long versions can be seen below:
7777
| apt-get installed packages| -a | --apt |
7878

7979

80+
## Image Sources
81+
82+
container-diff supports Docker images located in both a local Docker daemon and a remote registry. To explicitly specify a local image, use the `daemon://` prefix on the image name; similarly, for an explicitly remote image, use the `remote://` prefix.
83+
84+
```container-diff diff daemon://modified_debian:latest remote://gcr.io/google-appengine/debian8:latest```
85+
86+
Additionally, tarballs can be provided to the tool directly. Make sure your file has a valid tar extension (.tar, .tar.gz, .tgz).
8087

8188

8289
## Other Flags
@@ -223,6 +230,7 @@ type MultiVersionInfo struct {
223230
## Known issues
224231

225232
To run container-diff using image IDs, docker must be installed.
233+
Tarballs provided directly to the tool must be in the Docker format (i.e. have a manifest.json file for layer ordering)
226234

227235

228236
## Example Run

0 commit comments

Comments
 (0)