Redpak Container

Introduction

Redpak - ultra lightweight managed container that targets embedded devices used within critical infrastructure (automotive, boat, submarine, train, civil infrastructure, medical, …). It enforces a white box container’s model where the global coherency of the system can be proven.

Learn more about redpak containers.

Create Redpak container project

Container project can be created both through the WebUI and using redpesk CLI

Creating container project with WebUI

In order to create a new project:

  • Go to “Dashboard” view and click the button add project button
  • Select the “Create a container project” option
  • Fill in the form with your project information
  • In case your project has a parent and inherits configuration settings:
    • Click the add inheritance button
    • Select a parent container
    • Click the confirm button button to save your selection
    • Once correctly configured, click the submit button button to validate and create your project

Important: Container project can inherit from either one container project or from multiple standard projects

create container project

Alternatively, you can create a project from Projects tab, by clicking the add project button button and following the same procedure as described above

Creating container project with rp-cli

In order to create a container project with rp-cli use rp-cli projects add command with the following parameters:

  • --name [Mandatory] Name of the project to create;
  • --optional-arch to specify an optional architecture, this flag can be used several times;
  • --mandatory-arch to specify a mandatory architecture, this flag can be used several times;
  • --optional-distro to specify an optional distribution, this flag can be used several times;
  • --mandatory-distro to specify a mandatory distribution, this flag can be used several times
  • --inherit [Optional] set a parent for the current project, this flag can be used several times;
  • --containers to create a container project
# Example
$ rp-cli projects add --name "My container project" --optional-arch x86_64 --mandatory-distro redpesk-lts-arz-1.1-update --containers --inherit container-2
-- Project creation requested by user --
Creation of "My container project" project...[OK]

This will create a container project called “My container project”, with x86_64 architecture setting as optional, redpesk-lts-arz-1.1-update distribution with mandatory setting and container-2 project set as a parent project to inherit from.