Skip to content

Instantly share code, notes, and snippets.

@mlushpenko
Created March 15, 2021 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlushpenko/c9b4196695e754acc53d683b98e6dc11 to your computer and use it in GitHub Desktop.
Save mlushpenko/c9b4196695e754acc53d683b98e6dc11 to your computer and use it in GitHub Desktop.
Docker login custom config
$ docker --config /tmp login registry.gitlab.com
$ cat /tmp/config.json
{
"auths": {
"registry.gitlab.com": {}
},
"credsStore": "osxkeychain"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment