• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Are USB interfaces exposed by docker to the containers?
#1
Is it possible to expose / share an USB device through the "Runtime" -> Add Device configuration of a container?

If yes, how do I know what is the device host path?

I would like to add a serial interface (RS232) and perhaps a z-ware usb stick, which must be exposed.
  Reply
#2
We made netPI's ecosystem secure. To fulfil this demand not every function a standard Docker provides is implemented in netPI's system software. For example if you switch ond privileged mode on netPI, then not all /dev/ are automatically mapped into a container, which standard Docker does. And also in the current system software we do not allow to volume bind any folder or volumes from the host.

Back to the question which path. The same path as on your Raspberry. Since netPI is just a Docker Host and not a development platform for containers, you have to anyway develop on a Raspberry.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  https certificate issues in new nodered docker image Dipro 1 1,664 May-4th-2022, 05:46 AM
Last Post: Armin@netPI
  Docker exposed port don't send data on eth0 COswald 3 3,107 July-15th-2021, 02:10 PM
Last Post: Armin@netPI
  Docker not enabled tad 10 4,823 July-14th-2021, 08:54 AM
Last Post: Armin@netPI
  Docker amd64 instead of arm biancode 3 3,005 January-17th-2021, 09:40 PM
Last Post: Armin@netPI
  docker.service start failed EUROKEY 13 9,169 January-17th-2021, 07:52 PM
Last Post: Armin@netPI
  Docker cannot find image COswald 16 8,894 May-18th-2020, 07:15 AM
Last Post: COswald
  After „Rebuild“ of Docker neither the node-RED nor the dashboard can be accessed MAK 4 4,230 January-31st-2020, 02:14 PM
Last Post: MAK
  Generate VLAN interfaces in container FrankJacob 7 4,012 September-26th-2019, 03:19 PM
Last Post: Armin@netPI
  [SOLVED] Docker GUI login issue MGharat 1 2,728 September-19th-2019, 11:50 AM
Last Post: Armin@netPI
Information netPI Docker REST API patrick 1 3,355 July-16th-2019, 02:45 PM
Last Post: patrick

Forum Jump:


Users browsing this thread: 1 Guest(s)