Search by Tags

Module 3: Creating My Own Container



In this module, you will get more familiar with Docker and Docker Hub, pull images from the server, write your own Dockerfiles as well as build and push images. More importantly, you will cross build images on your host machine to be run on a target ARM device.

Note: Even though it is possible to follow most of this Getting Started Guide as well as develop for Torizon with a Linux host machine, in this training modules the host computer is running the regular 64-bit installation of Windows 10 Pro/Enterprise/Education. It is highly recommended that you use the same setup since possible issues with Virtual Machines or other Operating Systems are not discussed.

Warning: Docker makes user of Hyper-V. It means that for a good experience, you need a computer with Windows 10 Pro, Enterprise or Education. The version of Windows 10 Home does not support Hyper-V and is not recommended.

Warning: Follow precautions for handling electrostatic sensitive devices (ESD)

Typographic Conventions

Throughout the Torizon documentation, the following typographic conventions are used:

$ (dollar sign) Command in the host computer (e.g. your PC)

$ Command in your PC

$$ (double dollar sign) Command in a container in the host computer (e.g. your PC)

$$ Command inside a container in your PC

# (hashtag) Command in the target device/board (e.g. Linux terminal)

# Command in the target board, e.g. Colibri iMX6

## (double hashtag) Command inside a container in the target device (Torizon)

## Command inside a container in Torizon

> (greater-than sign) Command in the bootloader (e.g. U-Boot console)

> Command in the Bootloader

No symbol: Command output

$ Command waiting for output


Writing Your First Dockerfile

Deploy to the Target