You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/hardware/04.pro/boards/portenta-x8/tutorials/11.display-output-webgl/content.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -129,9 +129,9 @@ ssh fio@<localIP>
129
129
130
130
***To connect through SSH it will request the user's password, which is "fio". If you have trouble connecting with the SSH, please check the troubleshooting section at the end of this tutorial.***
131
131
132
-
### Copy/Push the Container
132
+
### Copy/Push the Docker-Compose.yml
133
133
134
-
You can push the container from your computer using a terminal on the container's directory. The following command is used to send the container to the Portenta X8:
134
+
You can push the **docker-compose.yml**, a file that describes the app in ASCII format, from your computer using a terminal on the file's directory. The following command is used to send the composer to the Portenta X8:
Save the file and exit. To see the changes in place, you have to reboot your Portenta X8 by using the command `sudo systemctl reboot`. When the board gets started again, you will be able to see your display with the right resolution.
174
174
175
-
### Running The Container
175
+
### Running The Image
176
176
177
-
If you obtained the container from **Foundries.io**, it will run automatically after a few seconds.
177
+
If you obtained the app descriptor, structured through *docker-compose.yml*, from **Foundries.io**, it will run automatically after a few seconds.
178
178
179
179
On the other hand, if you copied from the repository, you will need to initialize with **docker** by accessing your Portenta X8 through SSH, going to the directory where you have copied it, and running it from that directory using following commands:
180
180
@@ -183,13 +183,13 @@ On the other hand, if you copied from the repository, you will need to initializ
183
183
ssh fio@<portentaX8-IP>
184
184
185
185
//Change directory
186
-
cd<containerPath>
186
+
cd<composerPath>
187
187
188
188
//Compose with docker
189
-
docker-compose up --detach
189
+
dockercompose up --detach
190
190
191
191
//Stop the docker-compose
192
-
docker-compose stop
192
+
dockercompose stop
193
193
```
194
194
195
195
### Edit The Output
@@ -201,7 +201,7 @@ It is possible to change the web output URL by editing the `docker-compose.yml`
0 commit comments