Created
October 10, 2019 09:48
-
-
Save madsonic/b396c1eb089f6b02e7fa57cc9f8eaed0 to your computer and use it in GitHub Desktop.
dockerconfigjson
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
| # create dockerconfigjson from scratch | |
| cat <<EOF >> dockerconfigjson | |
| { | |
| "auths": { | |
| "https://index.docker.io/v1/": { | |
| "auth": "$(base64 --input=credfile)" | |
| } | |
| } | |
| } | |
| EOF | |
| # credfile content | |
| username:password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment