Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Automatically log in to Azure Container Registry for push/pull ops #816

Open
@karolz-ms

Description

@karolz-ms

This is an idea, not a bug report

Thanks to the awesome work from our Docker friends we have the ability to deploy images (docker run) and Compose projects from Azure Container Registry (ACR) to Azure Container Instances (ACI) without the need to specify ACR pull credentials. This is because the CLI will automatically exchange the Azure management token (result of docker login azure) into a ACR pull token and pass that token to ACI as part of deployment spec.

We could do similar token exchange for pull/push operations for ACR. This means one would be able to push to/pull from ACR without doing docker login someregistry.azurecr.io, as long as the user has done docker login azure and the CLI has valid Azure management token. This would make working with ACR smoother.

Let me know if this sounds like a reasonable idea. If yes, I can put together a PR that implements it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acienhancement ✨A new feature suggestion or improvement upon an existing feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions