You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logging in with your password grants your terminal complete access to your account.
For better security, log in with a limited-privilege personal access token. Learn more at https://docs.docker.com/go/access-tokens/
This warning isn't correct. I'm not logging into hub, docker hub PATs are irrelevant here.
Description
I log into my ECR registry like this:
This is the recommended way to log into ECR.
https://docs.aws.amazon.com/AmazonECR/latest/userguide/getting-started-cli.html
The Docker CLI gives me a warning about this:
This warning isn't correct. I'm not logging into hub, docker hub PATs are irrelevant here.
Reproduce
docker login --username AWS --password-stdin [my-account-id].dkr.ecr.us-east-1.amazonaws.com
Expected behavior
No warning
docker version
Client: Docker Engine - Community Cloud integration: v1.0.31 Version: 23.0.1 API version: 1.42 Go version: go1.19.5 Git commit: a5ee5b1 Built: Thu Feb 9 19:47:01 2023 OS/Arch: linux/amd64 Context: desktop-linux Server: Docker Desktop 4.17.0 (99144) Engine: Version: 22.06.0-beta.0-926-g914b02ebaf.m API version: 1.43 (minimum version 1.12) Go version: go1.18.4 Git commit: 914b02ebaf Built: Thu Feb 9 12:30:57 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.18 GitCommit: 2456e983eb9e37e47538f59ea18f2043c9a73640 runc: Version: 1.1.4 GitCommit: v1.1.4-0-g5fd4c4d docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
Note that the warning is here:
https://github.com/docker/compose-cli/blob/f09336e5196183de06f359e5598c3f2d7f704809/cli/mobycli/pat_suggest.go
happy to move this bug to that repo. i filed it here because i presume most users don't know/care about the internal cli repo topology.
The text was updated successfully, but these errors were encountered: