From 50caf393cb6b230ad49d052d471f32420d575c8f Mon Sep 17 00:00:00 2001 From: ChristoperBiscardi Date: Sun, 8 Mar 2015 16:18:43 -0700 Subject: [PATCH] Fix a few code rendering errors in docs Signed-off-by: ChristoperBiscardi --- docs/sources/reference/run.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/sources/reference/run.md b/docs/sources/reference/run.md index f2400ecfc..f06ca968e 100644 --- a/docs/sources/reference/run.md +++ b/docs/sources/reference/run.md @@ -493,7 +493,6 @@ By default, the container will be able to `read`, `write`, and `mknod` these dev This can be overridden using a third `:rwm` set of options to each `--device` flag: -``` $ sudo docker run --device=/dev/sda:/dev/xvdc --rm -it ubuntu fdisk /dev/xvdc Command (m for help): q @@ -507,7 +506,6 @@ This can be overridden using a third `:rwm` set of options to each `--device` fl $ sudo docker run --device=/dev/sda:/dev/xvdc:m --rm -it ubuntu fdisk /dev/xvdc fdisk: unable to open /dev/xvdc: Operation not permitted -``` In addition to `--privileged`, the operator can have fine grain control over the capabilities using `--cap-add` and `--cap-drop`. By default, Docker has a default