@@ -103,7 +103,7 @@ first one.
103103<div class =" tab-content " >
104104<div id =" mount-run " class =" tab-pane fade in active " markdown =" 1 " >
105105
106- ``` bash
106+ ``` console
107107$ docker run -d \
108108 -it \
109109 --name devtest \
@@ -114,7 +114,7 @@ $ docker run -d \
114114</div ><!-- mount-->
115115<div id =" v-run " class =" tab-pane fade " markdown =" 1 " >
116116
117- ``` bash
117+ ``` console
118118$ docker run -d \
119119 -it \
120120 --name devtest \
@@ -147,7 +147,7 @@ set to `rprivate`.
147147
148148Stop the container:
149149
150- ``` bash
150+ ``` console
151151$ docker container stop devtest
152152
153153$ docker container rm devtest
@@ -174,7 +174,7 @@ The `--mount` and `-v` examples have the same end result.
174174<div class =" tab-content " >
175175<div id =" mount-empty-run " class =" tab-pane fade in active " markdown =" 1 " >
176176
177- ``` bash
177+ ``` console
178178$ docker run -d \
179179 -it \
180180 --name broken-container \
@@ -188,7 +188,7 @@ starting container process caused "exec: \"nginx\": executable file not found in
188188</div ><!-- mount-->
189189<div id =" v-empty-run " class =" tab-pane fade " markdown =" 1 " >
190190
191- ``` bash
191+ ``` console
192192$ docker run -d \
193193 -it \
194194 --name broken-container \
@@ -204,7 +204,7 @@ starting container process caused "exec: \"nginx\": executable file not found in
204204
205205The container is created but does not start. Remove it:
206206
207- ``` bash
207+ ``` console
208208$ docker container rm broken-container
209209```
210210
@@ -228,7 +228,7 @@ The `--mount` and `-v` examples have the same result.
228228<div class =" tab-content " >
229229<div id =" mount-readonly " class =" tab-pane fade in active " markdown =" 1 " >
230230
231- ``` bash
231+ ``` console
232232$ docker run -d \
233233 -it \
234234 --name devtest \
@@ -239,7 +239,7 @@ $ docker run -d \
239239</div ><!-- mount-->
240240<div id =" v-readonly " class =" tab-pane fade " markdown =" 1 " >
241241
242- ``` bash
242+ ``` console
243243$ docker run -d \
244244 -it \
245245 --name devtest \
@@ -268,7 +268,7 @@ correctly. Look for the `Mounts` section:
268268
269269Stop the container:
270270
271- ``` bash
271+ ``` console
272272$ docker container stop devtest
273273
274274$ docker container rm devtest
@@ -316,7 +316,7 @@ The `--mount` and `-v` examples have the same result.
316316<div class =" tab-content " >
317317<div id =" mount-propagation " class =" tab-pane fade in active " markdown =" 1 " >
318318
319- ``` bash
319+ ``` console
320320$ docker run -d \
321321 -it \
322322 --name devtest \
@@ -328,7 +328,7 @@ $ docker run -d \
328328</div ><!-- mount-->
329329<div id =" v-propagation " class =" tab-pane fade " markdown =" 1 " >
330330
331- ``` bash
331+ ``` console
332332$ docker run -d \
333333 -it \
334334 --name devtest \
@@ -367,7 +367,7 @@ the bind mount's contents:
367367
368368It is not possible to modify the selinux label using the ` --mount ` flag.
369369
370- ``` bash
370+ ``` console
371371$ docker run -d \
372372 -it \
373373 --name devtest \
0 commit comments