Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.3 KB

File metadata and controls

45 lines (32 loc) · 1.3 KB

Azure Authentication for pulling docker images

Install Azure CLI on MacOS

Based on https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-macos?view=azure-cli-latest

Install with homebrew

Install Azure-CLI locally,

brew update && brew install azure-cli

and to update a Azure-CLI locally,

brew update azure-cli

Install Azure CLI on other platforms

See: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

Login with Azure CLI and CCD

then, login to MS Azure,

az login

and finally, Login to the Azure Container registry:

./ccd login

On windows platform, we are installing the Azure CLI using executable .msi file. If "az login" command throws an error like "Access Denied", please follow these steps. We will need to install the az cli using Python PIP.

  1. If Microsoft Azure CLI is already installed, uninstall it from control panel.
  2. Setup the Python(version 2.x/3.x) on windows machine. PIP is bundled with Python.
  3. Execute the command "pip install azure-cli" using command line. It takes about 20 minutes to install the azure cli.
  4. Verify the installation using the command az --version.

Back to readme