Created
October 15, 2015 14:35
-
-
Save agonzalezro/e2335feac23cdb377810 to your computer and use it in GitHub Desktop.
Base64 `dockercfg` for pulling images from private repos into Kubernetes
This file contains hidden or 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
cat $HOME/.docker/config.json|jq '.auths'|sed "s/http:/https:/g"|tr '\n' ' '|tr -d '[[:space:]]'|base64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment