sdm
sdm copied to clipboard
Run burn from inside docker container
I'm having trouble mapping block devices into docker. Here is my command:
docker run --privileged -it --rm -v /Users/keittth/Desktop/biosense-docker:/home/agent/hostdir -v /dev:/dev biosense-sdm /bin/bash -c 'sudo sdm --burn /dev/disk2 --hostname testing --expand-root --nowait-timesync /home/agent/hostdir/customized_images/latest-lite.img'
Results:
* Start Burn
? '/dev/disk2' is not a block device
Any suggestions?