Created
March 13, 2020 23:15
-
-
Save christian-korneck/4862c0bf47789b7b15e8b1d1b962d495 to your computer and use it in GitHub Desktop.
get docker desktop credentials
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker-credential-desktop list | \ | |
jq -r 'to_entries[].key' | \ | |
while read; do | |
docker-credential-desktop get <<<"$REPLY"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tested on Docker Desktop for Mac 2.2.0.4
expected output: