@@ -39,7 +39,7 @@ In this tutorial we will show step-by-step how to install, run and remove the [H
39
39
## Using Docker
40
40
41
41
The Docker CLI is already built-in your Portenta X8 by default you can check the tool is installed by typing
42
- ``` sh
42
+ ```
43
43
docker -v
44
44
```
45
45
@@ -49,31 +49,31 @@ You can check Docker reference documentation, which cover deeply all the feature
49
49
50
50
The following steps shows how to install, run and uninstall the "Hello World" container.
51
51
52
- ### Install a container
52
+ ### Install A Container
53
53
54
54
You will need to find your Docker container, on its Docker hub page it will show you how to install the desired container.
55
55
56
56
https://hub.docker.com/_/hello-world
57
57
58
- ``` sh
58
+ ```
59
59
docker pull hello-world
60
60
```
61
61
62
62
![ Docker CLI pulling a container] ( assets/docker-pull.png )
63
63
64
- ### Run the installed container
64
+ ### Run The Installed Container
65
65
66
- ``` sh
66
+ ```
67
67
docker run hello-world
68
68
```
69
69
70
70
![ Docker CLI running Hello World app] ( assets/docker-run.png )
71
71
72
- *** To be able to see your container with ` docker ps -a ` you will need to run it atleast once with ` docker run ` ***
72
+ *** To be able to see your container with ` docker ps -a ` you will need to run it at least once with ` docker run ` ***
73
73
74
- ### Listing the installed packages
74
+ ### Listing The Installed Packages
75
75
List the installed containers introducing:
76
- ``` sh
76
+ ```
77
77
docker ps -a
78
78
```
79
79
@@ -82,18 +82,18 @@ docker ps -a
82
82
Keep in mind that you will need to get the ` CONTAINER ID ` to uninstall the container afterwards.
83
83
84
84
If you didn't run your container you can also check if its correctly installed by using
85
- ``` sh
85
+ ```
86
86
docker images
87
87
```
88
88
89
89
![ Docker CLI images] ( assets/docker-images.png )
90
90
91
- ### Uninstall a container
91
+ ### Uninstall A Container
92
92
93
93
First get the Container ID from the container list.
94
94
95
95
Then use the remove (` rm ` ) command
96
- ``` sh
96
+ ```
97
97
docker container rm <CONTAINER ID>
98
98
```
99
99
0 commit comments