linka-cloud / d2vm

Build Virtual Machine Image from Dockerfile or Docker image
Apache License 2.0
208 stars 31 forks source link

fix: mount /dev to docker container #21

Closed bilalshaikh42 closed 1 year ago

bilalshaikh42 commented 1 year ago

the docker image needs to have the /dev mounted in order to properly format the disk.

Updated both the RunD2VM and the README instructions to reflect this

closes #18

Adphi commented 1 year ago

@bilalshaikh42 thanks for this pull request. Unfortunately mounting /dev in the container breaks compatibility with osx, so I can't merge these changes. As soon as possible I will fix the problem by using kpartx instead of partprobe.