DockerCLI/cli/command/registry
Simon Ferquel 5a12f90b4c
Don't filter out registries to logout from with config file contents
Previously, if a registry AuthInfo was not present in the CLI config file, docker logout could not be used
to ask the credential helper to forget about it. It causes problem for people working with
multiple alternative config files, and it causes problems for cases like Docker Desktop w/ WSL 2, as
it uses the same win32 credential helper as the Windows CLI, but a different config file, leading to
bugs where I cannot logout from a registry from wsl2 if I logged in from Windows and vice-versa.

Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
(cherry picked from commit 6248f2fb6f)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-06-17 17:32:39 +02:00
..
testdata formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
formatter_search.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
formatter_search_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-04-21 16:43:18 +02:00
login.go Refine warning for storing registry passwords 2019-04-14 08:33:53 -07:00
login_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-04-21 16:43:18 +02:00
logout.go Don't filter out registries to logout from with config file contents 2020-06-17 17:32:39 +02:00
search.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00