• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
USB Device not plugged in during boot
#4
OK understood.

With netPI OS the Docker is more secure than a standard Docker engine and loses some of its properties and its dynamic. The socalled "privileged" mode under netPI OS does not automatically map all "/dev/..." devices into a container like a standard Docker would do it. So with netPI OS you have to specificially map all the devices you need in the container manually with the "add device" feature (as you did it correctly). But in this case all the devices you mapped need to be present at the time the container starts because the Docker engine checks them during the start time. If a device is not present then the engine does not start the container. Under standard Docker you just have to enable the priviledge mode without mapping specific devices and Docker makes no verifications during the start of a container.

Also for this problem I may have the only answer for you: use Raspbian OS and install a standard Docker on top of it, portainer web UI and then you containers. Then the priviledge mode works as you need it and is completely "open" and maps all your present host devices into a container dynamically. But on the other hand the priviledge mode "opens" much more and a container runs as it would be installed natively on the host and gets full access to the host Linux. This is the drawback of using the standard privileged mode of standard Docker.

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-31st-2021, 04:50 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)