태그: VMDK

How to convert VMDK to a Docker image

qemu-img convert -f vmdk -O raw MyImage-disk1.vmdk myimage.img Next, After the raw has been created you can apply Guestfish: $ guestfish -a myimage.img –ro $ ><fs> run $ ><fs> list-filesystems  /dev/sda1: ext4 /dev/VolGroup/lv_root: ext4 /dev/VolGroup/lv_swap: swap $ ><fs> mount /dev/VolGroup/lv_root / $ ><fs> tar-out / – | xz –best >>  myimage.xz $ ><fs> exit Now, Importing myimage.xz into docker: $…

Videos, Slideshows and Podcasts by Cincopa Wordpress Plugin