Docker Community Forums

Share and learn in the Docker community.

How to mount a luks encrypted usb stick in windows docker

I usually use linux, but have a windows computer at work. To read my LUKS encrypted USB stick on windows, I use Oracle VM Virtualbox. Windows can’t open a LUKS encrypted USB stick, but in an ubuntu virtualbox the LUKS encrypted USB stick opens just like it would on a native ubuntu machine.

I now no longer want to use Oracle VM Virtualbox and replace it with docker. I have everything else worked out except the issue that inside a docker container in Windows, I cannot access the LUKS encrypted USB stick. Note that Windows appears to have no idea what to do with the LUKS encrypted USB stick. It always asks me if I want to format it. I say no and then open it in Oracle VM Virtualbox. I would like to do something similar inside a docker (ubuntu) container.