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/custom-container/content.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -45,14 +45,14 @@ The complete folder will look like this:
45
45
46
46
Lets go through what these files contain and do.
47
47
48
-
### docker-buil.conf
48
+
### Docker-build.conf
49
49
A file containing the minimal "unit test" command to be executed on the container to prove it's working. Our file will make our containers minimal unit test a test of Python3 help command.
50
50
51
51
```python
52
52
TEST_CMD="python3 --help"
53
53
```
54
54
55
-
### docker-compose.yml
55
+
### Docker-compose.yml
56
56
This file defines the app name through the factory, permissions and settings for the involved containers. The argument in the image tag will make it so our image file builds locally.
We can also run ```repo sync``` to get the latest version of the repository. Put the "x8-custom-test" folder in the repository. If you push the commit to "container.git" a new target will automatically build on your Foundries.io Factory page.
146
146
147
-
***NOTE: The "repo sync" will at some point pause. This is because it is waiting for a username and password but the prompt will be hidden. Enter the username and password to move on.***
147
+
***NOTE: The "repo sync" will at some point pause. This is because it is waiting for a username and password but the prompt will be hidden. Enter the username and password to move on.***
148
148
149
149
### Building and Running the Container
150
150
@@ -160,7 +160,7 @@ Now that it is built we can run it with ```docker run```, finding it with the ta
160
160
docker run -it --rm --user "63" x8-custom-test:latest
161
161
```
162
162
163
-
### Using docker-compose
163
+
### Using docker-compose
164
164
165
165
A option for testing an app or container is to use "docker-compose". This is helpful when we have a lot of settings in our "docker-compose.yml" file, since we don't have to use those settings in the run argument with this method. First navigate into the container folder.
0 commit comments