Last active
June 17, 2022 11:58
-
-
Save rgpower/3ec21120955ed457346e78fde67616ce to your computer and use it in GitHub Desktop.
ACR login notes
This file contains 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
# 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