I have been trying to convert a Docker image into a VMDK file for creating an AWS AMI using AWS's Import/Export. For that:
I have used this guide for creating the
.img
file from my DockerFile.Now, I am using this command:
VBoxManage convertfromraw --format VMDK disk.img disk.vmdk
to convert my.img
file to a.vmdk
file, as IMG format, is unsupported by the AWS service.
However, when I run the Import/Export service, it gives me this error:
"StatusMessage": "ClientError: Disk validation failed [Unsupported VMDK File Format]"
Is there anything which I did wrong in my conversion process?