Hailort Docker installation error

Hello!

I am currently trying to build a docker container to run inference with Hailort. I want to keep this container as slim as possible so I am only downloading the necessary drivers. With that being said the only driver I want to install inside my container is the “hailo_4.19.0_arm64.deb” driver. Here is my implementation on this with the Dockerfile. Note: I am using debian:12 as this image is the same as on my rpi-5, which is also successfully running inference with Hailo on the same drivers. What can be the cause of this error?

Error:

Final note: I am not focusing on the pcie driver, as I understand it must be installed locally on the device.

Cheers!

Hey @Zaba ,

Which kernel version are you using? Sometimes kernel compatibility can lead to this type of error. Additionally, have you verified that the driver is installed correctly?

Also can you install it not inside the docker ?

Hey, thanks!

I am using kernel version 6.6.51, this has worked for me outside of the container, and the container is using the same kernel as the host machine. I have verified it is installed correctly, inference works on the host machine, but not inside of the container, the error I posted is coming from inside the container.

I have attempted to install it inside the docker container but throwing errors, I will try to attempt it again soon as I may have done a step incorrectly. The next attempt was to install it when building the docker image, this failed with the ‘hailort_4.19.0_arm64.deb’ driver, specifically with ‘systemd’ as Docker does not really like to use this command. There is another thread that has this exact issue when trying to install drivers when building the Docker image. It was answered but not solved.
Link to other thread:

I am sure I can get the drivers mounted to the Docker container successfully soon, but my primary goal is to install the drivers inside the Docker image, as in the thread shared above.