DockerCLI/cli
Euan Kemp 056015c3d8 config/credentials: don't run 'pass' to detect it
'CheckInitialized' in the credential-helper library actually invokes
`pass`, which isn't desirable (see #699).

This moves the check to be simpler, and then pass will only be invoked
when it's needed (such as for `docker login` or when pulling from a
private registry).

This logic could also reasonably live in the credential-helper library,
but it's simple enough it seems fine in either location.

Signed-off-by: Euan Kemp <euank@euank.com>
2018-06-29 11:38:39 -07:00
..
command added unit tests covering content trust for plugin install command 2018-06-27 22:16:19 -04:00
compose Add options to the compose loader 2018-06-25 17:15:26 +02:00
config config/credentials: don't run 'pass' to detect it 2018-06-29 11:38:39 -07:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags Scope orchestration selection to stack commands only 2018-06-21 17:12:31 -07:00
manifest Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
registry/client Bump moby to d37f5c6bdf788a6cb82c07fb707e31a240eff5f9 2018-05-18 11:44:14 +02:00
trust Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
winresources Add windows resources to binary. 2017-05-15 18:03:03 -04:00
cobra.go Update command usage and documentation 2018-06-21 23:16:27 -07:00
error.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
required.go Singularize / pluralize "argument(s)" in error message 2017-08-12 18:25:38 +02:00
required_test.go Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
version.go Fix grammar typo in comment 2018-02-28 11:29:40 -05:00