Signed-off-by: Jan-Jaap Driessen <janjaapdriessen@gmail.com>
| ... | ... |
@@ -2204,10 +2204,10 @@ logs could be retrieved using `docker logs`. This is |
| 2204 | 2204 |
useful if you need to pipe a file or something else into a container and |
| 2205 | 2205 |
retrieve the container's ID once the container has finished running. |
| 2206 | 2206 |
|
| 2207 |
- $ docker run --device=/dev/sdc:/dev/xvdc --device=/dev/sdd --device=/dev/zero:/dev/nulo -i -t ubuntu ls -l /dev/{xvdc,sdd,nulo}
|
|
| 2208 |
- brw-rw---- 1 root disk 8, 2 Feb 9 16:05 /dev/xvdc |
|
| 2209 |
- brw-rw---- 1 root disk 8, 3 Feb 9 16:05 /dev/sdd |
|
| 2210 |
- crw-rw-rw- 1 root root 1, 5 Feb 9 16:05 /dev/nulo |
|
| 2207 |
+ $ docker run --device=/dev/sdc:/dev/xvdc --device=/dev/sdd --device=/dev/zero:/dev/nulo -i -t ubuntu ls -l /dev/{xvdc,sdd,nulo}
|
|
| 2208 |
+ brw-rw---- 1 root disk 8, 2 Feb 9 16:05 /dev/xvdc |
|
| 2209 |
+ brw-rw---- 1 root disk 8, 3 Feb 9 16:05 /dev/sdd |
|
| 2210 |
+ crw-rw-rw- 1 root root 1, 5 Feb 9 16:05 /dev/nulo |
|
| 2211 | 2211 |
|
| 2212 | 2212 |
It is often necessary to directly expose devices to a container. The `--device` |
| 2213 | 2213 |
option enables that. For example, a specific block storage device or loop |
| ... | ... |
@@ -2400,7 +2400,7 @@ It is used to create a backup that can then be used with `docker load` |
| 2400 | 2400 |
|
| 2401 | 2401 |
It is even useful to cherry-pick particular tags of an image repository |
| 2402 | 2402 |
|
| 2403 |
- $ docker save -o ubuntu.tar ubuntu:lucid ubuntu:saucy |
|
| 2403 |
+ $ docker save -o ubuntu.tar ubuntu:lucid ubuntu:saucy |
|
| 2404 | 2404 |
|
| 2405 | 2405 |
## search |
| 2406 | 2406 |
|