Skip to content

Instantly share code, notes, and snippets.

@rgpower
Last active June 17, 2022 11:58
Show Gist options
  • Save rgpower/3ec21120955ed457346e78fde67616ce to your computer and use it in GitHub Desktop.
Save rgpower/3ec21120955ed457346e78fde67616ce to your computer and use it in GitHub Desktop.
ACR login notes
# this only works on Linux if your $HOME/.docker/config.json has no "credsStore" entry
az acr login -n <registry> --expose-token --output tsv --query accessToken 2>/dev/null \
| docker login <registry-fqdn> --username 00000000-0000-0000-0000-000000000000 --password-stdin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment