docker / docker/docker-credential-helpers
docker login Succeeded, docker pull failed
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 195
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 5
Description
I use pass
docker login Succeeded:
# docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: liaolinrong
Password:
Login Succeeded
but when docker pull a private image, is error:
docker pull liaolinrong/centos:7.3.1611
Error response from daemon: pull access denied for liaolinrong/centos, repository does not exist or may require 'docker login'
/root/.docker/config.json :
# cat /root/.docker/config.json
{
"auths": {
"https://index.docker.io/v1/": {}
},
"HttpHeaders": {
"User-Agent": "Docker-Client/18.09.7 (linux)"
},
"credsStore": "pass"
}
os:
# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
# uname -a
Linux VM_0_6_centos 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
docker version:
# docker -v
Docker version 18.09.7, build 2d0083d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported docker login and docker pull commands, the /root/.docker/config.json contents, and the pass credential-store behavior on CentOS 7.5 with Docker 18.09.7. Reproduce the failure and trace whether credentials are stored and retrieved correctly; the issue is done when private-image pulls work or the cause and required fix are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, linux
- Domain
- authentication, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100