Method and device for converting iso image into container image

CN114296864BActive Publication Date: 2024-12-10CHINA ASEAN INFORMATION PORT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111493408.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-08
Publication Date
2024-12-10
Estimated Expiration
2041-12-08

Smart Images

  • Figure CN114296864B_ABST
    Figure CN114296864B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for converting an iso image into a container image, relates to the technical field of cloud computing, and solves the technical problem of converting an iso image into a virtual machine container image. The method comprises: creating a kubevirt virtual machine specification template; providing an http file server; after receiving an iso image uploaded by a user, creating a virtual machine; running the virtual machine to generate a virtual machine instance, and entering the system installation step; the user controls the installation of an operating system through vnc; after the installation is completed, a disk.img file is generated; the image in raw format is converted into a qcow2 compressed image through a qemu command; the qcow2 image is converted into a docker image, and a Dockerfile file is generated; a docker image is generated; and the docker image is uploaded to an image warehouse. The present invention also discloses a device for converting an iso image into a container image. The present invention can convert any operating system image that meets the requirements of virtual machine creation into a docker image, and uniformly manage it within the platform, avoiding two sets of image management methods, and reducing maintenance costs.
Need to check novelty before this filing date? Find Prior Art