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

How can I run docker on a Windows VM on Linux

Updated January 31, 2018 22:01 PM

Virtualbox & Docker, mount shared folder

Updated May 09, 2018 19:01 PM

Simple one-liner to run VM via Docker from scratch

Updated September 27, 2015 15:00 PM