Skip USB device in Windows Container docker

I am using Windows 10 using Docker for Windows . In addition, I have a container that takes FROM microsoft/windowsservercore. I have a USB device connected and you want to transfer it to this container.

What I have found so far:

On Linux you got it --device=/dev/.., but how to do it on Windows?

Michael Friis wrote on July 7th that this is currently not possible. However, this comment claims that it is.

So my questions are:

  • Is it currently possible to transfer a USB device from a Windows host to a Windows docker container?
  • If so, what is the correct syntax?
  • If not, does anyone know when approximately we can expect this function?
+4
source share

Source: https://habr.com/ru/post/1686536/


All Articles