docker-py login doesn't save credentials to $HOME/.docker/config.json
See original GitHub issuedocker-py (1.8.0)
Python 2.7.6
Docker version 1.10.3, build 20f81dd
The docker login cli saves the creds to $HOME/.docker/config.json
. This api call doesn’t seem to do the same. Not that familiar with docker-py, does it save the creds in the object? How does it work exactly?
In the docker-py docs supposedly they are identical except for being non-interactive.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
docker login - Docker Documentation
You can log into any public or private repository for which you have credentials. When you log in, the command stores credentials in...
Read more >Why docker login command saves unencrypted password on ...
I've used docker login command and passed my credentials and I got warning WARNING: login credentials saved in /Users/{my_username}/. docker/config. json . I' ......
Read more >Encrypted Credentials for Docker Login - Lei Mao's Log Book
When we run docker login , we will often see a warning message that our password is saved encrypted in the Docker configuration...
Read more >Docker login results in unencrypted password warning - IBM
After you log in to your private image registry with the Docker login command, a warning is displayed that indicates that your password...
Read more >I need plain text credentials in my config.json, how do I disable ...
Hiding docker-credential-pass from which / PATH and using separate config for example $PWD/.docker/config.json is required to make both Base64 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
why couldn’t
docker-py
’slogin
function simply have apersist
parameter, which, on success, writes the authentication out to `$HOME/.docker/config.json? Seems simple enough.@shin- Is this still the case with docker-py?
I see a parameter on the login method for the docker config file, but when I pass the path it does not seem to write anything to the file.