---
title: Pull Docker Images
slug: pull-docker-images
docTags: 
createdAt: 2024-08-14T00:33:37.701Z
---

:::hint{type="info"}
This is an optional step to pull container images needed by the OpsVerse stack into a private container registry.
:::

This page lays out the steps to be followed in order to pull the container images needed by the OpsVerse stack into a private container registry like ECR.

## Step 1: Clone the image-override script

```shell
git clone https://github.com/OpsVerseIO/installers
cd installers/k8s-helm/image-override
```

## Step 2: Login container registries

:::hint{type="info"}
Contact your OpsVerse customer success manager to get your credentials to the OpsVerse container registry
:::

Login to the OpsVerse container registries by running the following commands:

```shell
docker login registry.devopsnow.io/public
docker login registry.devopsnow.io/private
```

Login to your container registry. The steps could vary based on the type of your registry. For AWS ECR,

```shell
aws ecr get-login-password --region <region> | docker login --username AWS --password-stdin <aws_account_id>.dkr.ecr.<region>.amazonaws.com
```

## Step 3: Run the script

Setup the following environment variables:

```shell
export CONTAINER_TARGET_REGISTRY=<aws_account_id>.dkr.ecr.<region>.amazonaws.com
export CONTAINER_REGION=<region>
export REPOSITORY_PREFIX=<your-repository-prefix>_opsverse
```

```shell
sudo -E bash image-pull-push.sh
```





