Docker container for demo

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu Gnome 5.15 231229

Which version of system do you use? Khadas official images, self built images, or others?

Khadas official image

Please describe your issue below:

I tried to create Docker-container with demo for VIM4. I created this dockerfile:

FROM ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive

RUN apt update
RUN apt upgrade -y
RUN apt install libopencv-dev -y
RUN apt install gcc-aarch64-linux-gnu -y

WORKDIR /Demo

COPY . .
COPY libnnsdk.so ../lib/aarch64-linux-gnu/

Image has been created, I run container and perform exec to go into container.
But when I try to call recognition in the container with command:
./yolov8n_cap -m ./y8n_18.adla -d 0 -w 1280 -h 720
I get an error:
Segmentation fault (core dumped)

Post a console log of your issue below:


Segmentation fault (core dumped)

Pls, tell me, is it even possible to do what I want?