RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Dobby is a container management tool, to make it easy for other applications to start/stop/monitor containers. It can be thought of as a "Docker for the embedded world".
This page demonstrates building a sample Java application in RDK framework and running in a container using Dobby in a RDK-B reference board ( Rpi ).
Dobby source code: https://github.com/rdkcentral/Dobby
DAC Working Group:
This is the main Dobby process, which is launched at bootup by systemd. When started, DobbyDaemon registers itself on dbus. It then idles and waits for commands over dbus to start, stop or inspect containers.
CLI to interact with Dobby for developers, and issue commands such as start, stop or info
Build Dobby in RDK-B
Getting the RDK-B dunfel Code
mkdir < workspace_dir> cd <workspace_dir> repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml repo sync -j4 --no-clone-bundle |
---|
Add dobby,readline and crun packages to the package recipe file to consider it during the build
Path: ./meta-cmf-raspberrypi/recipes-core/packagegroups/packagegroup-rdk-ccsp-broadband.bbappend |
---|
Add readline dependencies in the dobby recipe file
Path: ./meta-rdk/recipes-containers/dobby/dobby-thunderplugin.bb |
---|
Add the below kernel options to support containerization
Path: ./meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi.inc |
---|
Build Java Application in RDK-B
step 5,6,7
Download the meta-java layer for Java support in RDKB image for Raspberry Pi
cd <workspace_dir> git clone git://git.yoctoproject.org/meta-java cd meta-java git checkout remotes/origin/dunfell |
---|
1. Create a new recipe under meta-rdk-ext/
2. New recipe should have the java application, corresponding .bb and license files
Running Dobby Container in Rpi
This provides details on running containerized java applications using dobby in RDK-B Platform (Raspberry Pi)
Steps:
2.
Validation:
1.
2.