Portainer is a lightweight management UI that allows you to easily manage your different Docker environments.
Torizon comes with Portainer pre-loaded and it automatically starts after the module boot-up.
In this module you will:
For this Quickstart Guide:
Turn on the board. After boot, the Portainer login screen will be displayed on the monitor connected to the board. On the first access, it is necessary to set a username and password.
Alternatively, a host computer connected to the same network as the module can also access Portainer through a web interface. To access it, open a web browser (Chrome, Firefox, Edge) and access the address:
Select the primary endpoint to access the board's container settings.
Click on Containers.
Click on the button "Add container".
Type a name for your container. Type the following Docker image name:
hello-world. Click on "Deploy the container".
The next screen will show the running containers. Press
F5 to update the container status until your hello-world container finishes its execution and stops.
After the container stops, click on the Logs button.
See the container log. If you see the
Hello from Docker! text, congratulations, your container has been successfully started from the Portainer interface.
The hello-world container is only a simple container used to verify if the Docker engine is working correctly in the system and if the Portainer can start a container on the board. We will build more complex containers in the next sections.