How to Provision Vultr Container Registry

Updated on September 25, 2024

Vultr Container Registry is a managed storage and distribution system for Open Container Initiative (OCI) images and related artifacts. This service allows you to securely host multiple container images, enabling you to build and deploy applications on platforms like Docker and Kubernetes. Vultr Container Registry simplifies the management of containerized applications, providing a reliable and scalable solution for your image storage needs.

Follow this guide to provision a Vultr Container Registry on your Vultr account using the Vultr Customer Portal, API, or CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products and click Container Registry.

    Container Registry in the products menu

  2. Click Add Container Registry.

    Button to create container registry

  3. Provide a Registry Name.

    Field to provide a registry name

  4. Choose a Container Registry Location.

    Menu to choose a container registry

  5. Choose a suitable plan.

    Menu to choose a suitable container registry plan

  6. By default, the visibility is set to private. Select the checkbox to set the visibility to public.

    Checkbox to set a container registry visibility to public

  7. Click Add Container Registry.

    Button to provision a container registry

  1. Send a POST request to the Create Registry endpoint to create a registry.

    console
    $ curl "https://api.vultr.com/v2/registry" \
        -X POST \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{
            "region" : "sjc",
            "name" : "charizard",
            "plan" : "business",
            "public" : false
        }'
    
  2. Send a GET request to the List Registries endpoint to list all the available registries.

    console
    $ curl "https://api.vultr.com/v2/registries" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  1. Create a registry.

    console
    $ vultr-cli container-registry create   --name "test"   --public false   --region "sjc"   --plan "business"
    
  2. List all the available registries.

    console
    $ vultr-cli container-registry list