Skip to content

Commit f974ee9

Browse files
Added draft
1 parent 9fa4d4e commit f974ee9

File tree

1 file changed

+51
-0
lines changed
  • content/hardware/04.pro/boards/portenta-x8/tutorials/custom-container

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Create and Upload a Custom Container Portenta X8
3+
difficulty: easy
4+
tags: [Linux, containers]
5+
description: This tutorial will show you how to create and upload your custom container to your Portenta X8
6+
author: Benjamin Dannegård
7+
hardware:
8+
- hardware/04.pro/board/portenta-x8
9+
software:
10+
-
11+
12+
---
13+
14+
## Overview
15+
16+
In this tutorial we will create a simple container that we can then upload to the Portenta X8. A container consists of an image file and all it's dependencies if there are any.
17+
18+
## Goals
19+
20+
- Learn how to create a container for use with the Portenta X8
21+
- Learn how to upload a container to the Portenta X8
22+
23+
### Required Hardware and Software
24+
25+
- [Portenta X8](https://store.arduino.cc/portenta-x8)
26+
27+
## Instructions
28+
29+
First we are going to write our Arduino Linux sketch. We will first create a file with the """" format. Open the file in the code editor of your choice, we can now start writng our Linux sketch.
30+
31+
32+
is a runnable instance of an image. You can create, start, stop, move, or delete a container using the DockerAPI or CLI.
33+
can be run on local machines, virtual machines or deployed to the cloud.
34+
is portable (can be run on any OS)
35+
Containers are isolated from each other and run their own software, binaries, and configurations.
36+
37+
When running a container, it uses an isolated filesystem. This custom filesystem is provided by a container image. Since the image contains the container’s filesystem, it must contain everything needed to run an application - all dependencies, configuration, scripts, binaries, etc. The image also contains other configuration for the container, such as environment variables, a default command to run, and other metadata.
38+
39+
##
40+
41+
###
42+
43+
## Upload container
44+
45+
If you want to learn how to upload your newly created container to your Portenta X8, then please check out our [Uploading container tutorial](). It will show you how to add and remove containers from your Portenta X8 using SSH or ????.
46+
47+
###
48+
49+
## Conclusion
50+
51+
Now you should have a better understanding of how the Portenta X8 works with factories and containers. This article also gives a better picture of how to utilize the Portenta X8 to its full potential. Be sure to check out our other tutorials with the Portenta X8 to see how to practically use factories and containers.

0 commit comments

Comments
 (0)