Skip to content

Fix logout canonicalization for docker.io - #7336

Open
dajiaohuang wants to merge 1 commit into
docker:masterfrom
dajiaohuang:7326-fix-logout-docker-io
Open

dajiaohuang wants to merge 1 commit into
docker:masterfrom
dajiaohuang:7326-fix-logout-docker-io

Conversation

@dajiaohuang

Copy link
Copy Markdown

When running 'docker logout docker.io', the CLI was not canonicalizing the server address to 'https://index.docker.io/v1/' like 'docker login' does, which meant credentials were not removed. This change makes logout use the same canonicalization logic as login.

Closes #7326

When running 'docker logout docker.io', the CLI was not canonicalizing
the server address to 'https://index.docker.io/v1/' like 'docker login'
does, which meant credentials were not removed. This change makes logout
use the same canonicalization logic as login.

Closes docker#7326

Signed-off-by: shuwen.wu <shuwen.wu@bytedance.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker logout docker.io does not remove Docker Hub credentials

1 participant