34b8481ec7 | ||
---|---|---|
.. | ||
MANUAL.md | ||
README.md | ||
pom.xml |
README.md
Setting up Azure Container Registry
What are we going to do in this step
As we are targeting deployment on Azure Kubernetes Service (AKS) we need a Docker registry from which we can pull our container images. In this step we will verify we can access the Azure Container Registry (ACR).
Start in the correct directory
Please execute the command below:
cd $BASEDIR/02-setting-up-acr
Create the Resource Group
We need a resource group to host the ACR.
Please use the following command line to create the resource group:
az group create --name sharearound --location westus2
Note if the output tells you the resource group already exists that is fine and continue on.
Create the ACR
Now we are going to create your ACR.
Please execute the command line below:
az acr create --name sharearoundacr$UNIQUE_ID --location westus2 \
--resource-group sharearound --sku Basic
Login into your ACR
Now log into your ACR using the command line below:
az acr login -n sharearoundacr$UNIQUE_ID
What you accomplished
- You have created a resource group to host your resources.
- You have created an ACR to host your Docker images.
- You have verified you can login into your ACR.
More information
For more information about ACR, see: