Setting Up the Azure CLI Environment
You can use either the Microsoft Azure portal or Azure CLI to run Microsoft Azure commands. In the following sections, the procedures are provided for the Azure CLI.
Before you begin You must have a Microsoft Azure account with an active subscription. If required,
create an Azure account.
- Procedure
- Install the Azure CLI. For installation instructions, see Microsoft Azure CLI documentation
- In the CLI, sign in to Microsoft Azure by using the
login
command.az login
The CLI opens a browser and loads the sign-in page. - Sign in with your account credentials in the browser.
For details, see Get started with Azure CLI
What to do next
Create an Azure Container Registry (ACR) and push the Docker image of the application to it, see Setting Up an Azure Container Registry.