Browse code

Merge pull request #19436 from HackToday/fixhostdev

Fix add host device example

Vincent Demeester authored on 2016/01/19 18:25:08
Showing 1 changed files
... ...
@@ -422,12 +422,12 @@ flag:
422 422
     $ docker run --device=/dev/sda:/dev/xvdc --rm -it ubuntu fdisk  /dev/xvdc
423 423
 
424 424
     Command (m for help): q
425
-    $ docker run --device=/dev/sda:/dev/xvdc:ro --rm -it ubuntu fdisk  /dev/xvdc
425
+    $ docker run --device=/dev/sda:/dev/xvdc:r --rm -it ubuntu fdisk  /dev/xvdc
426 426
     You will not be able to write the partition table.
427 427
 
428 428
     Command (m for help): q
429 429
 
430
-    $ docker run --device=/dev/sda:/dev/xvdc --rm -it ubuntu fdisk  /dev/xvdc
430
+    $ docker run --device=/dev/sda:/dev/xvdc:rw --rm -it ubuntu fdisk  /dev/xvdc
431 431
 
432 432
     Command (m for help): q
433 433