1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/open-vmdk
2024-11-07 17:55:06 +08:00
..
Dockerfile open-vmdk 2024-11-07 17:55:06 +08:00
README.md open-vmdk 2024-11-07 17:55:06 +08:00

open-vmdk

Open VMDK is an assistant tool for creating Open Virtual Appliance (OVA).

Tutorial

# create aliases
$ alias vmdk-convert='docker run --rm -u $(id -u):$(id -g) -v $PWD:/data -w /data vimagick/open-vmdk vmdk-convert'
$ alias ova-compose='docker run --rm -u $(id -u):$(id -g) -v $PWD:/data -w /data vimagick/open-vmdk ova-compose'

# convert raw image
$ wget https://downloads.openwrt.org/releases/23.05.5/targets/x86/64/openwrt-23.05.5-x86-64-generic-ext4-combined.img.gz
$ gunzip openwrt-23.05.5-x86-64-generic-ext4-combined.img.gz
$ vmdk-convert openwrt-23.05.5-x86-64-generic-ext4-combined.img openwrt-23.05.5-x86-64-generic-ext4-combined.vmdk