• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
USB Device not plugged in during boot
#2
Well in general the Docker engine makes a snapshot of all the USB devices plugged in at the time a container is started and makes them then available in the container. But Docker engine never do this again during runtime of a containers. This means if you unplug a USB device it will never be mapped again into the container.

I described this behaviour in this thread a while ago: https://forum.hilscher.com/thread-439.html
Others are describring this problem too e.g. https://forums.balena.io/t/docker-contai...vices/4277

On an open OS like Raspbian you could write a script (rules) that detects a fresh plugged in USB on the Linux Host and trigger a restart the corresponding container. But this is not possible on netPI since you can't access the netPI OS cause of its security restrictions.

So if you need this feature you need to operate netPI with a standard Raspbian OS on your own SD card. Please keep the original SD card just for future use.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
RE: USB Device not plugged in during boot - by Armin@netPI - May-30th-2021, 06:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  netPI core as serial device server MGharat 1 2,146 June-16th-2021, 07:55 AM
Last Post: Armin@netPI
  USB Enumareted Device List IBeRyUS 5 4,626 October-22nd-2019, 12:57 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)