Skip to main content

About OCI Images in Orka

OCI (Open Container Initiative) registry credentials are required to push and pull OCI-compatible Apple silicon-based Orka images to or from private repositories. Important: OCI images are available only for Apple silicon-based VMs. This is the recommended modern approach for image storage and management. Common OCI Registries:
  • GitHub Container Registry (ghcr.io)
  • Docker Hub
  • Harbor
  • Private registries
Working with OCI Images:
  • To deploy a VM using an OCI image: orka3 vm deploy --image server.com/repository/image:tag
  • To push an image to an OCI registry: orka3 vm push VM_NAME server.com/repository/image:tag

Managing Registry Credentials

Admin Only: All registry credential operations require administrative privileges. If --namespace is not set, operations default to the orka-default namespace. The shorthand alias for registrycredential is regcred.

orka3 registrycredential add

Add credentials for the specified OCI registry server in the orka-default namespace or the specified namespace. Use this to add new credentials for a new server, or replace existing credentials for an existing server. Server Address Requirements:
  • Must include the scheme, hostname and (optionally) port
  • Examples: https://ghcr.io or https://10.221.188.5:30080
If insecure communication is allowed, requests to the registry server will fall back to HTTP when HTTPS is unavailable (disabled by default). Syntax:
Options:
Examples:

orka3 registrycredential list

List the OCI registry servers that have stored credentials in the orka-default namespace or the specified namespace. Syntax:
Options:
Examples:

orka3 registrycredential remove

Remove the authentication credentials for the specified registry server in the orka-default namespace or the specified namespace. Syntax:
Options:
Examples:

Working with OCI Images

Deploying VMs from OCI Images

When deploying a VM, you can specify an OCI image by its full path:

Pushing Images to OCI Registries

The state of a running VM can be saved and pushed to an OCI-compatible registry. This operation is applicable only to Apple silicon-based VMs. For more information, see the VM Lifecycle Management article.

Caching OCI Images

You can cache OCI images directly on cluster nodes without pulling them to local storage first: