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.
Â
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).
 It is successful if a character string like the image below is displayed.
Â
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
Â