'why can I still docker pull after docker logout
context(what I do while using docker):
- docker login URL auth info in config.json
- docker pull/push ops
- docker logout URL auth info removed
my question is, why does docker pull/push cmd still work after docker logout? I tested on my own Ubuntu.
Solution 1:[1]
finally I found the answer!
it relates with the access level in harbor.
if the repository's access level is public, you can do 'docker pull image', could not do 'docker push image'
if the repository's access level is private, neither 'docker pull image' nor 'docker push image'
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | stack-overflow-bolin |
