Search by Tags

Container Hello World on the Command-Line

 

Your progress

 

Overview

Torizon is a new Linux-based software platform that simplifies the process of developing and maintaining embedded software and allows containerized applications to run. The Docker container engine is one of the most popular and is currently used by the TorizonCore distribution. To get more information about TorizonCore, make sure to read the TorizonCore Overview.

A container is a standard unit of software that packages code and all its dependencies to enable very flexible, lightweight, portable and scalable software development. To get more information regarding Docker, be sure to visit its official doccumentation.

In this module you will:

  • Test TorizonCore with a hello-world application.
Typographic Conventions

Prerequisites

For this Quickstart Guide:

  • Development computer with Ubuntu 18.04 LTS. Warning: Commands and instructions may vary slightly on other Ubuntu releases and Linux distributions.
  • Successfully completed the previous lessons from this guide.

For this lesson:

  • Have your host-target (development PC - Computer on Module) communication setup through SSH using the PuTTY client.
  • Have both host and target connected to the same network.

Note: Carefully read this module's cover page clicking on "Module 2: First Steps with Torizon" on the left menu bar before starting this lesson.

Step 1

Now that you have access to your board through SSH, it is possible to fully explore TorizonCore capabilities. On the board's terminal, run the Docker Hello World:

docker run hello-world

Read the generated prompt to understand what happened and how Docker works.

For more information about this example and additional information about how to use Docker, please, refer to Docker Get Started page.

In this example, we confirmed that Docker is running correctly on the board. We are now ready to start working with Toradex's Debian images.

FAQ

How relevant is the processor's architecture in containers?