Create a raw disk on the linux server for passing it to docker

by hgi2000   Last Updated December 07, 2017 11:01 AM

Need help in creating a raw disk. I need to pass this raw disk to the docker conatiner as device.

I tired the dd and losetup but its not working for me. The filsystem which I am trying format the disk with does not support loop0 disks.

Is there any way where I can create a virtual disk similar to what vm's use.

Related Questions

Simple one-liner to run VM via Docker from scratch

Updated September 27, 2015 15:00 PM

Using Docker and Virtualbox together on an Ubuntu Host?

Updated September 21, 2017 23:01 PM

Unprocessed orphan inode list in VirtualBox VM

Updated December 11, 2017 19:01 PM