Skip to content

Commit 31626c5

Browse files
committed
Docs minor content patch
1 parent dbc138f commit 31626c5

File tree

2 files changed

+4
-4
lines changed
  • content/hardware/04.pro/boards/portenta-x8/tutorials

2 files changed

+4
-4
lines changed

content/hardware/04.pro/boards/portenta-x8/tutorials/04.python-arduino-data-exchange/content.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ sudo docker ps
128128
You can then access the log of its service at any time by using following command from the **same directory**:
129129

130130
```bash
131-
sudo docker-compose logs -f --tail 20
131+
sudo docker compose logs -f --tail 20
132132
```
133133

134134
If you do not wish to run the container in the background, skip the `-d` flag, you will get the console output directly in the executing shell. Once the container is running, you will see the messages being sent from the M4.
@@ -160,7 +160,7 @@ sudo docker build . -t python-sensor-rpc
160160
When it has finished, you can run the container with:
161161

162162
```bash
163-
sudo docker-compose up
163+
sudo docker compose up
164164
```
165165

166166
After a few seconds, you should see the output from the Python application featuring the sensor readings on the M4 that exchanges through the RPC mechanism. The output should look similar to the following:

content/hardware/04.pro/boards/portenta-x8/tutorials/07.custom-container/content.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,13 @@ cd /home/fio/x8-custom-test
178178
This docker-compose command will start your application and register it as a systemd service that will persist even when a reboot occurs. So at the next boot, your docker-compose app will run automatically.
179179

180180
```bash
181-
docker-compose up --detach
181+
docker compose up --detach
182182
```
183183

184184
To stop the docker-compose app from running, use the following command:
185185

186186
```bash
187-
docker-compose stop
187+
docker compose stop
188188
```
189189

190190
## Deploying with Docker Hub

0 commit comments

Comments
 (0)