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?
This may be helpful, not sure exactly why you're getting the issue but others with the problem have been directed here.
http://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html
Error importing vmdk files using ec2 developer tools
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With