Created
October 10, 2019 09:48
-
-
Save madsonic/187a5029ada7bf1e9bdf1657318df411 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