in the past i have been able to install the ids camera drivers for etherent ids cam directly in a container by running it in privileged and with net host
docker run -it --privileged --net=host
I was using ueye_4.93.0.986 arm64 drivers. this was in older torizon version 5.4
below is the dockerfile of the container
FROM torizon/arm64v8-debian-base:buster
RUN apt-get -y update && apt-get install -y \
dialog
RUN apt-get install -y \
python3-pip \
python3-setuptools \
python3-numpy \
htop \
nano \
procps \
file \
libjpeg62 \
libpng16-16 \
libgomp1 \
libcap2 \
libusb-1.0-0
RUN pip3 install wheel redis==3.5.3
RUN pip3 install pyueye attrs cattrs==1.0.0 serialized-redis-interface toml
ENV QT_QPA_PLATFORM="wayland"
ENV PYTHONPATH=/container_share/interface-layer/src:/container_share/s-log/src:/container_share/config-system/src
ENV SBB_IMG_SAVE_LOCATION=/sd
ENV PYTHONUNBUFFERED=1
# Work around Weston issue by using bash instead of dash
# see https://gitlab.freedesktop.org/wayland/weston/merge_requests/294
RUN ln -sf bash /bin/sh
# The compositor needs access to input devices
RUN usermod -a -G input torizon
COPY ueye_4.93.0.986_arm64.run /home/torizon
RUN chmod a+x /home/torizon/ueye_4.93.0.986_arm64.run
RUN /home/torizon/ueye_4.93.0.986_arm64.run --auto
COPY ueyeethd.conf /etc/ids/ueye/ueyeethd.conf
COPY image_grabber_entrypoint.sh /home/torizon/.
RUN chmod a+x /home/torizon/image_grabber_entrypoint.sh
#CMD /etc/init.d/ueyeethdrc stop
#CMD /etc/init.d/ueyeethdrc start
WORKDIR /container_share/camera-system/src
#ENTRYPOINT ["/usr/bin/entry.sh"]
ENTRYPOINT ["/home/torizon/image_grabber_entrypoint.sh"]
entry point script where the ids daemon is started. I only needed the ids ethernet service