Hello,
You can check the documentation at https://rvc4.docs.luxonis.com/software/tools/oakctl/#oakapp.toml to learn how to create an oakapp that is supported on OAK4 devices and manageable via oakctl
. You can create an oakapp from a Docker image, you just need to define this image in oakapp.toml using:
[base_image]
image_name = "library/debian"
image_tag = "bookworm-slim"
By default, it downloads images from Docker Hub, but you can specify a different repository. There are several limitations for the Docker image you can use: it must be a Debian 12-based image for ARM with Manifest V2. Alternatively, you can use a locally running registry and configure the [base_image] setting in oakapp.toml as follows:
[base_image]
api_url = "http://localhost:5000"
image_name = "debian"
image_tag = "bookworm-slim"
Plus serve this on local network:
podman run -d -p 5000:5000 --name registry registry:2.7
npm install -g regctl
wget <URL>/debian_bookworm-slim.tar
regctl registry set --tls=disabled localhost:5000
regctl image import localhost:5000/debian:bookworm-slim debian_bookworm-slim.tar
Please let us know if the process was clear and led to the successful creation of an oakapp.
We would appreciate any feedback or suggestions for improvement.
Best regards,
Martin