Docker support - reloading udev rules

Post your Linux discussions here
Post Reply
mikolajr
Newbie
Posts: 0
Joined: Fri Sep 11, 2020 3:11 pm

Docker support - reloading udev rules

Post by mikolajr »

Hi,

devices library/driver installations in Docker Linux container gives an error code:

Code: Select all

# apt-get install -y libusbdrdaq
...
E: Sub-process /usr/bin/dpkg returned an error code (1)
This seems to be because of reloading of the udev rules:

Code: Select all

# sh -x /var/lib/dpkg/info/libusbdrdaq.postinst configure 2.0.40-1r2131
+ set -e
+ echo ATTRS{idVendor}=="0ce9", MODE="0666"
...
+ udevadm control --reload-rules
It might actually suffice to just run

Code: Select all

udevadm control --reload-rules && udevadm trigger 
which indeed does not exit the Docker container from: https://unix.stackexchange.com/question ... out-reboot

Could you possibly please add a Docker container support?

Post Reply