Skip to main content

Container Registry

The Arvancloud Container Registry is a private registry for managing and storing Docker and container images. The Arvancloud Container Registry's integration with Docker and Kubernetes environments, along with the following features, speeds up the development and deployment of your applications:

  • Direct upload of Docker images
  • Secure, reliable cloud storage
  • Easy sharing of images with others
  • A GUI that makes the registry simple to use
  • Snapshots and backups of the registry disk

Creating a Registry​

To create a new registry, go to the Cloud Container menu in the Arvancloud panel and click Container Registry.

Then click Activate and choose the plan you need.

Next, set the disk size. Note that after the registry is created, you can only increase the disk's capacity.

Finally, enter your registry's username and password and click Activate.

When the registry is fully deployed, you can view and manage it on the same page.

Using the Registry​

After activating the registry, you can access it from the terminal to use it.

Note that if you build images on macOS, you may encounter the following error:

exec /opt/java/openjdk/bin/java: exec format error

To fix this, add the --platform flag to the build command:

docker buildx build --platform linux/amd64 -t <imagename> <dockerfile>

Logging In​

docker login registry.apps.ir-central1.arvancaas.ir

Tagging​

docker tag hostname/imageName:tag registry.apps.ir-central1.arvancaas.ir/newImageName:newTag

Pushing​

docker push registry.apps.ir-central1.arvancaas.ir/imageName:tagNumber

Pulling​

docker pull registry.apps.ir-central1.arvancaas.ir/imageName:tagNumber

Disk Snapshots and Backups​

Like any other application, you can take snapshots and backups of your registry's disk.

To take a snapshot, go to Disk Management, select the registry disk, and take a snapshot of its data.

For more details, see the snapshot guide for the Arvancloud Cloud Container.

You can also back up the registry disk from the Backup section of the panel.

The backup guide for the Arvancloud Cloud Container helps you with this.

Deleting a Registry​

To delete a registry, go to Container Registry in the Arvancloud Cloud Container menu and click Delete next to the registry you want.