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. Login 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 API files to a directory on your system.

    1. Download and extract the ANON-API_DEB-ALL-64_x86-64_Docker-ALL-64_1.4.0.x.tgz file.

    2. Open the directory and extract the ANON-API_DEB-ALL-64_x86-64_Docker-ALL-64_1.4.0.x.tar file.

    3. Extract the contents of the ANON-REST-API_1.4.0.x.tgz file to a directory.

      Note: Do not extract the ANON-API_1.4.0.x.tar.gz package obtained in the directory after performing the extraction. You need to run the docker load command on the package obtained in the directory.

  5. Navigate to the directory where the ANON-API_1.4.0.x.tar.gz file is saved.

  6. Load the Docker image into Docker by using the following command:

    docker load < ANON-API_1.4.0.x.tar.gz
    
  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.0.x: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.

  10. Extract ANON-NOTEBOOK_1.4.0.x.tgz to obtain the ANON-NOTEBOOK_1.4.0.x.tar.gz file and then repeat the steps 5 to 9 for the ANON-NOTEBOOK_1.4.0.x.tar.gz file.

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


Last modified : November 14, 2025