Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disk validation failed for AWS Import/Export task

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:

  1. I have used this guide for creating the .img file from my DockerFile.

  2. 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?

like image 324
Dawny33 Avatar asked Sep 26 '26 05:09

Dawny33


1 Answers

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

like image 53
Kyle Avatar answered Sep 28 '26 20:09

Kyle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!