Azure / azure-cli

Azure Command-Line Interface
MIT License
3.96k stars 2.94k forks source link

az container create / azure container instances creation should automatically provide credentials for ACR images #6628

Open berndverst opened 6 years ago

berndverst commented 6 years ago

Is your feature request related to a problem? Please describe. az container create should automatically provide credentials for ACR images

Describe the solution you'd like az acr login already obtains credentials for docker to log into ACR. Use these same credentials automatically for az container create if the image specified is from ACR.

Describe alternatives you've considered Using the ACR admin password isn't recommended and using service principals is cumbersome. No good alternative exists.

berndverst commented 6 years ago

@TanishShinde this is what we were trying to investigate today

ghost commented 4 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @dkkapur.