7.9. Import a virtual machine image using the DataVolume API


You can import a virtual machine (VM) image into your OpenShift Virtualization cluster by using the DataVolume API. A DataVolume automates PVC creation and image data transfer from an external source by using the Containerized Data Importer (CDI).

7.9.1. Supported import sources

The DataVolume API supports importing VM images from several external sources. The Containerized Data Importer (CDI) detects the image format and converts it as needed.

The following import sources are available:

HTTP or HTTPS
You specify the URL of the image file by using the source.http field. CDI downloads the image directly from the web server. You can optionally supply TLS certificates for custom certificate authorities and credentials for Basic authentication.
Container registry
You specify the image location by using the source.registry field with a docker:// URL prefix. CDI pulls the image from the registry by using standard container image pull mechanisms. You can supply registry credentials in a Secret object if the registry requires authentication.
S3 object storage
You specify the object URL by using the source.s3 field. CDI downloads the image from an S3-compatible storage service. You must supply access credentials in a Secret object.
oVirt (ImageIO)
You specify the connection details by using the source.imageio field. CDI connects to the oVirt ImageIO API to transfer disk images from a Red Hat Virtualization environment.
VMware (VDDK)
You specify the connection details by using the source.vddk field. CDI uses the VMware Virtual Disk Development Kit (VDDK) to transfer disk images from a VMware vSphere environment.

Supported image formats include QCOW2, raw, ISO, and compressed archive files.

Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동