New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker logout #1091
Comments
By design, docker-py doesn't modify the config file. |
Is there some record of design discussions regarding this that I can read? |
This would be useful. Right now I'm having to run a |
Lets try 3 years later...do we have docker logout now? :) |
Based on @shin- 's comment, |
+1 for this issue - I would like to have docker logout for my use case! For ORAS the client has a docker logout: https://github.com/oras-project/oras-go/blob/main/pkg/auth/docker/logout.go. |
I can confirm @saifrahmed assumption that logins which were performed within the session are not persisted beyond the Thus, the behavior is consistent. No explicit logout in Using |
Is there a reason that there is no equivalent of
docker logout
?I imagine this would take a registry (str) and dockercfg_path (str) as parameters and simply remove the appropriate section from the file.
The text was updated successfully, but these errors were encountered: