From 189d1f74b1e47a6fc8e7eb16c2a6c2f81e5387ca 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 Upstream-commit: fe8fa85074a62241640e5c2d9d2501c354517efc Component: engine --- components/engine/cliconfig/credentials/default_store_linux.go | 3 +++ .../{default_store_unix.go => default_store_unsupported.go} | 2 +- components/engine/docs/reference/commandline/login.md | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 components/engine/cliconfig/credentials/default_store_linux.go rename components/engine/cliconfig/credentials/{default_store_unix.go => default_store_unsupported.go} (62%) diff --git a/components/engine/cliconfig/credentials/default_store_linux.go b/components/engine/cliconfig/credentials/default_store_linux.go new file mode 100644 index 0000000000..864c540f6c --- /dev/null +++ b/components/engine/cliconfig/credentials/default_store_linux.go @@ -0,0 +1,3 @@ +package credentials + +const defaultCredentialsStore = "secretservice" diff --git a/components/engine/cliconfig/credentials/default_store_unix.go b/components/engine/cliconfig/credentials/default_store_unsupported.go similarity index 62% rename from components/engine/cliconfig/credentials/default_store_unix.go rename to components/engine/cliconfig/credentials/default_store_unsupported.go index cdb909a6bc..519ef53dcd 100644 --- a/components/engine/cliconfig/credentials/default_store_unix.go +++ b/components/engine/cliconfig/credentials/default_store_unsupported.go @@ -1,4 +1,4 @@ -// +build !windows,!darwin +// +build !windows,!darwin,!linux package credentials diff --git a/components/engine/docs/reference/commandline/login.md b/components/engine/docs/reference/commandline/login.md index 832902984c..34a7228427 100644 --- a/components/engine/docs/reference/commandline/login.md +++ b/components/engine/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