redpak Container

Introduction

redpak is an ultra lightweight managed container that targets embedded devices used within critical infrastructures (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.

Creating a redpak container project

Container projects can be created by using both the webUI and the redpesk CLI.

Creating a container project with the webUI

In order to create a new project:

  • Go to the “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 project
    • Click the confirm button button to save your selection
    • Once correctly configured, click the submit button button to validate and create your project

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

create container project

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

Creating a 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] to 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-corn-3.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 set to optional, redpesk-lts-corn-3.1-update distribution set to mandatory, and container-2 project set as a parent project to inherit from.