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

Commit cf3df99

Browse files
authored
Add documentation on auth. (#130)
1 parent 2068506 commit cf3df99

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ container-diff supports Docker images located in both a local Docker daemon and
8080

8181
Additionally, tarballs can be provided to the tool directly. Make sure your file has a valid tar extension (.tar, .tar.gz, .tgz).
8282

83+
### Authentication
84+
85+
Container-diff supports docker-credential-helpers for authentication when using a registry as an image source.
86+
Make sure you have your credential helper configured before using container-diff, and it should work automatically.
87+
88+
For the Google Container Registry, make sure you have the `docker-credential-gcr` binary configured and on your path, following these [instructions](https://github.com/GoogleCloudPlatform/docker-credential-gcr).
89+
8390

8491
## Other Flags
8592

0 commit comments

Comments
 (0)