mirror of https://github.com/docker/cli.git
5a12f90b4c
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
|
||
---|---|---|
.. | ||
testdata | ||
formatter_search.go | ||
formatter_search_test.go | ||
login.go | ||
login_test.go | ||
logout.go | ||
search.go |