Pass Block Device (ie: /dev/sda) to Docker Container?

HarryMuscle

Contributor
Joined
Nov 15, 2021
Messages
161
I know this is possible with vanilla Docker but I'm wondering if this can be done in TrueNAS Scale and it's implementation also.

If I were to permanently connect a USB hard drive with a filesystem that isn't automatically mounted by TrueNAS, say NTFS or possibly ext4, is it possibly to pass that device as a block device (ie: /dev/sda, etc.) into a Docker container?

Thanks,
Harry
 
Top