cannot pull public docker image if docker is logged in
I have a public project: https://gitlab.com/nkovacs/docker-test
If you try to pull the image while logged out, it'll work:
docker logout registry.gitlab.com
docker pull registry.gitlab.com/nkovacs/docker-test
If you try to pull it while logged in with a user who isn't a member of the project, it won't:
docker login registry.gitlab.com
- I logged in with @nkovacs2, who isn't a member of the project.
docker pull registry.gitlab.com/nkovacs/docker-test
Using default tag: latest
Pulling repository registry.gitlab.com/nkovacs/docker-test
Error: image nkovacs/docker-test not found