docker_multi_images

 

Table of contents


 

Introduction


This explanation assumes that the i-PRO camera application development environment has been completed.
If you are not ready to build the development environment, please refer to here to complete it.

Also, in this tutorial, the SDK installation directory is described as ${SDK_DIR}.

Operation overview


docker_multi_images is an application that uses multiple containers.

 

Directory path of the sample app


The C/C++ source code is stored below.

${SDK_DIR}/src/adamapp/docker_multi_images

No Python source code.

 

Preparation before building the sample app


Prepare the nginx image included in docker_multi_images.

Refer to the link below and prepare the docker image from the ${SDK_DIR}/src/adamapp/docker_multi_images/web directory.

Container AdamApp basic architecture and guidelines | 3.2 Preparing the sub image (the image to be ported)

 

How to build the sample app (C/C++)


This article describes how to build it as Container AdamApp.

Load the build environment settings file in the SDK installation directory.

$ cd ${SDK_DIR} $ source setup_env.sh ambaCV5XCEX

 

build.

$ ./ext_docker_build.sh src/adamapp/docker_multi_images

It is successful if the .ext file is created in ${SDK_DIR}/src/adamapp/docker_multi_images.

 

Install it on the camera (eg, you can install from the green frame in the image below). Select the created .ext file and install it.
Open the app screen (red frame button in the image below).

20240917-160324.png

 It is successful if a character string like the image below is displayed.

20240917-160323.png

 

How to use the sample app


This is an example of developing an application with multiple containers. See below for details.

https://iproiot.atlassian.net/wiki/x/UYG0Ww

Â