Azure / Azure/azure-cli

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

Open
#6,628 2 comments 1 reaction 1 assignee Claimed by @samkreter View on GitHub
act-observability-squad Container Instances Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.