From fe8fa85074a62241640e5c2d9d2501c354517efc Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Sat, 5 Mar 2016 15:38:50 +0100 Subject: [PATCH] cliconfig: credentials: set default for unix Signed-off-by: Antonio Murdaca --- cliconfig/credentials/default_store_linux.go | 3 +++ .../{default_store_unix.go => default_store_unsupported.go} | 2 +- docs/reference/commandline/login.md | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 cliconfig/credentials/default_store_linux.go rename cliconfig/credentials/{default_store_unix.go => default_store_unsupported.go} (62%) diff --git a/cliconfig/credentials/default_store_linux.go b/cliconfig/credentials/default_store_linux.go new file mode 100644 index 0000000000000..864c540f6c0b9 --- /dev/null +++ b/cliconfig/credentials/default_store_linux.go @@ -0,0 +1,3 @@ +package credentials + +const defaultCredentialsStore = "secretservice" diff --git a/cliconfig/credentials/default_store_unix.go b/cliconfig/credentials/default_store_unsupported.go similarity index 62% rename from cliconfig/credentials/default_store_unix.go rename to cliconfig/credentials/default_store_unsupported.go index cdb909a6bc6a8..519ef53dcdece 100644 --- a/cliconfig/credentials/default_store_unix.go +++ b/cliconfig/credentials/default_store_unsupported.go @@ -1,4 +1,4 @@ -// +build !windows,!darwin +// +build !windows,!darwin,!linux package credentials diff --git a/docs/reference/commandline/login.md b/docs/reference/commandline/login.md index 832902984c133..34a722842745a 100644 --- a/docs/reference/commandline/login.md +++ b/docs/reference/commandline/login.md @@ -51,6 +51,7 @@ program to be in the client's host `$PATH`. This is the list of currently available credentials helpers and where you can download them from: +- D-Bus Secret Service: https://github.com/docker/docker-credential-helpers/releases - Apple OS X keychain: https://github.com/docker/docker-credential-helpers/releases - Microsoft Windows Credential Manager: https://github.com/docker/docker-credential-helpers/releases