Search by Tags

Toradex Debian Image

 

Your progress

 

Overview

In this module you will:

  • Get used to Toradex Debian Docker Image
Typographic Conventions

Prerequisites

For this Getting Started Guide:

  • Successfully completed the previous lesson from this guide.
  • Linux Machine (We tested this guide on Ubuntu 18.04 LTS. However, it can work on other distributions.).

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

On module's terminal, pull Toradex's Debian image:

# docker pull torizon/arm64v8-debian-base

Step 2

Instantiate and run a new container:

# docker run --rm -it -v /var/run/dbus:/var/run/dbus -v /dev:/dev torizon/arm64v8-debian-base

The flags on this command give the container the necessary permissions to access hardware features from the host. For more information about what these flags do, see the FAQ session at the end of this article.

Step 3

Now the container is running and its terminal is shown. Run apt update. After this, you can use apt install commands. For instance:

## apt update
## apt install nano

FAQ

What do the docker run flags do?
Are all packages from Debian available on the board?
What is the difference between a Docker image and container?
Can I run 32-bit containers on 64-bit platforms?