Uploading the Image to the Azure Container Registry

Steps to upload the Docker image to the Azure Container Registry (ACR).

Use the information in this section to upload the Docker image to the Azure Container Registry (ACR) for running the Protegrity Anonymization API in AKS.

Note: For more information about creating the Azure Container Registry, refer to Create an Azure container registry using the Azure portal.

To install the Protegrity Anonymization API:

  1. Log in to the machine as an administrator to install the Protegrity Anonymization API.

  2. Install Docker using the steps provided at https://docs.docker.com/engine/install/.

  3. Configure Docker to push the Protegrity Anonymization API images to the Azure Container Registry (ACR) by running following command:

    docker login <Container_registry_name>.azurecr.io
    
  4. Obtain and extract the Protegrity Anonymization files to a directory on your system.

    a. Download and extract the ANON-API_RHUBI-ALL-64_x86-64_Generic.K8S_1.4.1.14.tgz files from the .tgz archive.
    - anonrestapi_1.4.1.14.tgz
    - cluster-autoscaler-autodiscover.yaml
    - cluster-aws.yaml
    - dependent_images.tgz

    b. Extract the anonrestapi_1.4.1.14.tgz files from the .tgz archive.
    - Anon_logs.sh
    - README.md
    - anonapi_1.4.1.14.tgz
    - anonapi_helm_1.4.1.14.tgz
    - contractual.csv

    > **Note**: Do not extract the `anonapi_1.4.1.14.tgz` package. This file must be loaded directly into Docker using the docker load command.  
    
  5. Navigate to the directory where the following image packages are located.

    • dependent_images.tgz
    • anonapi_1.4.1.14.tgz
  6. Load the Docker image into Docker by using the following command:

    a. Load the dependent images.

    docker load < dependent_images.tgz
    

    b. Load the Protegrity Anonymization API image.

    docker load < anonapi_1.4.1.14.tgz
    
  7. List the images that are loaded by using the following command:

    docker images
    
  8. Tag the image to the ACR repository by using the following command:

    docker tag <Container image>:<Tag> <Container registry path>/<Container image>:<Tag>
    

    For example:

    docker tag ANON-API_1.4.1.14:anon_AZ <container_registry_name>.azurecr.io/anon:anon_AZ
    
  9. Push the tagged image to the ACR by using the following command:

    docker push <Container_regitry_path>/<Container_image>:<Tag>
    

    For example:

    docker push <container_registry_name>.azurecr.io/anon:anon_AZ
    

    Note: Ensure that the appropriate path for the image registry along with the tag is updated in the values.yaml file.

The image is loaded to the ACR and is ready for deployment.


Last modified : April 01, 2026