Image repository / KubeVirt images / ubuntu-26.04

Version
202611.15.0
Released
2026-11-15
Architecture
amd64
qcow2 size
822 MB

Run it from the containerdisk

The quickest way to a running VM. The root disk is ephemeral: it is recreated from the image each time the VM starts. Replace the SSH key with your own.

apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  name: ubuntu-26-04
spec:
  runStrategy: Always
  template:
    spec:
      domain:
        cpu:
          cores: 1
        memory:
          guest: 2Gi
        devices:
          disks:
            - name: rootdisk
              disk:
                bus: virtio
            - name: cloudinit
              disk:
                bus: virtio
          interfaces:
            - name: default
              masquerade: {}
      networks:
        - name: default
          pod: {}
      volumes:
        - name: rootdisk
          containerDisk:
            image: quay.io/cloudsoe/ubuntu-26.04:202611.15.0
        - name: cloudinit
          cloudInitNoCloud:
            userData: |
              #cloud-config
              ssh_authorized_keys:
                - ssh-ed25519 AAAA... [email protected]
kubectl apply -f ubuntu-26-04.yaml
kubectl get vmi ubuntu-26-04 --watch
virtctl ssh ubuntu@vm/ubuntu-26-04

The image has no password. cloud-init adds your key to the default ubuntu user. On OpenShift, use oc in place of kubectl.

Import it to a persistent disk

With the Containerized Data Importer (CDI, included in OpenShift Virtualization), a DataVolume downloads the qcow2 into a PersistentVolumeClaim of the size you ask for. The root filesystem grows to fill it on first boot.

apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  name: ubuntu-26-04
spec:
  runStrategy: Always
  dataVolumeTemplates:
    - metadata:
        name: ubuntu-26-04-root
      spec:
        source:
          http:
            url: https://boxes.cloudsoe.com/kubevirt/ubuntu-26.04/202611.15.0/ubuntu-26.04-amd64.qcow2
        storage:
          resources:
            requests:
              storage: 20Gi
  template:
    spec:
      domain:
        cpu:
          cores: 1
        memory:
          guest: 2Gi
        devices:
          disks:
            - name: rootdisk
              disk:
                bus: virtio
            - name: cloudinit
              disk:
                bus: virtio
          interfaces:
            - name: default
              masquerade: {}
      networks:
        - name: default
          pod: {}
      volumes:
        - name: rootdisk
          dataVolume:
            name: ubuntu-26-04-root
        - name: cloudinit
          cloudInitNoCloud:
            userData: |
              #cloud-config
              ssh_authorized_keys:
                - ssh-ed25519 AAAA... [email protected]

Keep a golden image up to date

A DataImportCron polls the latest tag and imports each new build into a PVC, published as a DataSource that VMs can clone from. On OpenShift, create it in the openshift-virtualization-os-images namespace to keep it with the other boot sources.

apiVersion: cdi.kubevirt.io/v1beta1
kind: DataImportCron
metadata:
  name: cloudsoe-ubuntu-26-04
spec:
  schedule: "0 3 * * 1"
  managedDataSource: cloudsoe-ubuntu-26-04
  garbageCollect: Outdated
  importsToKeep: 2
  template:
    spec:
      source:
        registry:
          url: docker://quay.io/cloudsoe/ubuntu-26.04:latest
      storage:
        resources:
          requests:
            storage: 20Gi

The CDI guide shows how to clone a VM from the resulting DataSource.

Files and verification

FormatLocationChecksum
containerdisk quay.io/cloudsoe/ubuntu-26.04:202611.15.0 also tagged :latest sha256:320cdff9e0afdbb34d5f0d4609fe9a14f81c34e230dd57906288db3763fe68cb
qcow2 ubuntu-26.04-amd64.qcow2 822 MB sha256:7b90593f5532b49b7e3fe3d2743f0d1f0d822e5b07cebcd8e00c0df8069ecab9

For a reproducible deployment, reference the containerdisk by digest instead of by tag:

quay.io/cloudsoe/ubuntu-26.04@sha256:320cdff9e0afdbb34d5f0d4609fe9a14f81c34e230dd57906288db3763fe68cb

Check a downloaded qcow2 against its published checksum:

curl -LO https://boxes.cloudsoe.com/kubevirt/ubuntu-26.04/202611.15.0/ubuntu-26.04-amd64.qcow2
curl -LO https://boxes.cloudsoe.com/kubevirt/ubuntu-26.04/202611.15.0/ubuntu-26.04-amd64.qcow2.sha256
sha256sum -c ubuntu-26.04-amd64.qcow2.sha256

Source image: https://cloud-images.ubuntu.com/resolute/current/resolute-server-cloudimg-amd64.img

KubeVirt is a trademark of The Linux Foundation. OpenShift is a trademark of Red Hat. Ubuntu is a trademark of its owner. CloudSOE is not affiliated with or endorsed by them.