Docker Community Forums

Share and learn in the Docker community.

Connect USB Devices to Windows Docker Container


#1

I made a python docker that runs windows so that I can use .NET with no problem. I`m trying to use this docker to control some devices connect to my computer via USB, such as some stepper motors and receive information from a detector. How do I make them visible from inside the docker container?


(Ove "Lime" Lindström) #2

Hi,

you need to mount the USB-devices into docker. Take a look at https://docs.sevenbridges.com/docs/mount-a-usb-drive-in-a-docker-container to get an idea on how to do that.