Skip to content

Commit b15ac2e

Browse files
authored
Include newgrp - docker instead of sudo (#1305)
While launching adb shell, we should launch newgrp - docker command instead of sudo
1 parent 68d889b commit b15ac2e

File tree

1 file changed

+2
-2
lines changed
  • content/hardware/04.pro/boards/portenta-x8/tutorials/05.docker-container

1 file changed

+2
-2
lines changed

content/hardware/04.pro/boards/portenta-x8/tutorials/05.docker-container/content.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ You can check Docker's reference documentation, which covers all the features of
5353

5454
The following steps will show how to install, run and uninstall the "Hello World" container.
5555

56-
To avoid a lack of permissions while running the Docker's commands, you may need to run the next command to gain admin (root) access: ```sudo su -``` , which default password is ```fio```
56+
To avoid a lack of permissions while launching ```adb shell```, you may type the following: ```newgrp - docker```.
5757

5858
The previous command and other important info about Linux on your Portenta are described in the [Portenta X8 User Manual](https://docs.arduino.cc/tutorials/portenta-x8/user-manual#working-with-linux).
5959

@@ -137,4 +137,4 @@ In this tutorial, you have learned how to use Docker with Portenta X8. You have
137137

138138
- Now that you have the base of the workflow to use [Docker](https://docker.com), go to its docs page and make sure you understand all the features.
139139
- Look for a container image from [Docker hub](http://hub.docker.com), install it and make your own application out of it.
140-
- Create a container to run your custom-made application. For this, it may interest you [Deploy a Custom Container with Portenta X8 Manager](https://docs.arduino.cc/tutorials/portenta-x8/custom-container) tutorial.
140+
- Create a container to run your custom-made application. For this, it may interest you [Deploy a Custom Container with Portenta X8 Manager](https://docs.arduino.cc/tutorials/portenta-x8/custom-container) tutorial.

0 commit comments

Comments
 (0)