Uploading the Images to the Container Repository

Describes uploading the RPProxy, Policy Loader, KMSProxy, and AP-REST images to the Container Repository.

Before you begin, ensure that you have set up your Container Registry.

To upload the images to the Container Repository:

  1. Install Docker on the Linux instance.

    For more information about installing Docker on a Linux machine, refer to the Docker documentation.

  2. Run the following command to authenticate your Docker client to Amazon ECR.

    aws ecr get-login-password --region <Name of ECR region where you want to upload the container image> | docker login --username AWS --password-stdin <aws_account_id>.dkr.ecr.<Name of ECR region where you want to upload the container image>.amazonaws.com

    For more information about authenticating your Docker client to Amazon ECR, refer to the AWS CLI Command Reference documentation.

  3. Extract the installation package.

    The AP-REST, RPProxy, Policy Loader, and KMSProxy container images are extracted.

    For more information about extracting the installation package, refer to the section Extracting the Installation Package.

  4. Perform the following steps to upload the AP-REST container image to Amazon ECR.

    a. Run the following command to load the AP-REST container image into Docker.

    docker load -i REST_RHUBI-9-64_x86-64_K8S_<Version>.tar.gz

    b. Run the following command to list the AP-REST container image.

    docker images

    c. Tag the image to the Amazon ECR by running the following command.

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

    For example:

    docker tag ap-rest:AWS <aws_account_id>.dkr.ecr.us-east-1.amazonaws.com/ap-rest:AWS

    For more information regarding tagging an image, refer to the section Pushing an image in the AWS documentation.

    d. Push the tagged image to the Amazon ECR by running the following command.

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

    For example:

    docker push <aws_account_id>.dkr.ecr.us-east-1.amazonaws.com/ap-rest:AWS

    For more information about creating custom images, refer to the section Using Dockerfiles to Build Custom Images.

  5. Navigate to the directory where you have extracted the Helm charts packages for the AP-REST containers.

  6. In the values.yaml file, update the appropriate path for the iaprestImage setting, along with the tag.

  7. Repeat steps 1 to 6 for uploading the respective images for RPProxy, Policy Loader, and KMSProxy.


Last modified : January 19, 2026