You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the `credsStore` option in your `.docker/config.json` file with the suffix of the program you want to use. For instance, set it to `osxkeychain` if you want to use `docker-credential-osxkeychain`.
57
+
Set the `credsStore` option in your `~/.docker/config.json` file with the suffix of the program you want to use. For instance, set it to `osxkeychain` if you want to use `docker-credential-osxkeychain`.
51
58
52
59
```json
53
60
{
@@ -91,8 +98,8 @@ A credential helper can be any program that can read values from the standard in
91
98
92
99
This repository also includes libraries to implement new credentials programs in Go. Adding a new helper program is pretty easy. You can see how the OS X keychain helper works in the [osxkeychain](osxkeychain) directory.
93
100
94
-
1. Implement the interface `credentials.Helper` in `YOUR_PACKAGE/YOUR_PACKAGE_$GOOS.go`
95
-
2. Create a main program in `YOUR_PACKAGE/cmd/main_$GOOS.go`.
101
+
1. Implement the interface `credentials.Helper` in `YOUR_PACKAGE/`
102
+
2. Create a main program in `YOUR_PACKAGE/cmd/`.
96
103
3. Add make tasks to build your program and run tests.
0 commit comments