We run a multi container application on our devices,
and for one I need to reconfigure some driver by using modprobe.
This command works fine when executed on the host (e.g. via SSH)
but fails when used in a script inside a container.
Is there a possibility to execute a script before the docker containers are built, or whenever the device is restarted?
I personally am fairly new to this architecture, if I can provide any additional info, just let me know.
Thanks in advance for your kind help,
To elaborate a little bit more:
I need to execute
modprobe uvcvideo nodrop=1 timeout=5000 quirks=0x80
on the host system, whenever the system restarts.
The modprobe command can not be executed on the container.
I also tried simply editing the respecitve files under /sys/module/uvcvideo/parameters
but that seemed to have no effect.