migrate-java-ee-app-to-azur.../02-setting-up-acr
Manfred Riem 34b8481ec7
Changes to make material more self guided (#12)
2020-02-07 10:23:56 -08:00
..
MANUAL.md Reworked content to assume ARM template use 2020-01-28 16:09:32 -07:00
README.md Changes to make material more self guided (#12) 2020-02-07 10:23:56 -08:00
pom.xml Added cleanup section and other minor clarifications 2020-01-23 16:09:17 -07:00

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

  1. You have created a resource group to host your resources.
  2. You have created an ACR to host your Docker images.
  3. You have verified you can login into your ACR.

More information

For more information about ACR, see:

  1. Azure Container Registry product page
  2. Azure Container Registry documentation
  3. Azure CLI commands for ACR

Previous   Next