ocne image create

Creates an Oracle Container Host for Kubernetes (OCK) image for a provider. The image is saved into the $HOME/.ocne/images/ directory.

ocne image create 
{-a|--arch} arch
[{-t|--type} provider]
[{-v|--version} version]

Where:

{-a|--arch} arch

The architecture of the image to create. The options are amd64 or arm64.

{-t|--type} provider

The provider type. Options are:

  • oci: Generates a bootable Qcow2 image that can be used for libvirt and OCI deployments.

  • olvm: Generates a bootable Qcow2 image that can be used for Oracle Linux Virtualization Manager deployments.

  • ostree: Creates an OSTree archive image that can be used for the Bring Your Own provider deployments.

The default is oci.

{-v|--version} version

The version of Kubernetes to embed in the image.

Example 4-75 Create an OCK image for OCI

To create an OCK image for the amd64 architecture for the oci provider:

ocne image create --type oci --arch amd64

Example 4-76 Create an OCK image for the Bring Your Own provider

To create an OCK image for the arm64 architecture for the byo provider:

ocne image create --type ostree --arch arm64