Revert "Revert "Add docker exec run a command in privileged mode""

This reverts commit 40b71adee3.

Original commit (for which this is effectively a rebased version) is
72a500e9e5 and was provided by Lei Jitang
<leijitang@huawei.com>.

Signed-off-by: Tim Dettrick <t.dettrick@uq.edu.au>
This commit is contained in:
Tim Dettrick
2015-08-13 16:36:44 +10:00
parent 650feb29f1
commit 03f65b3d0d
7 changed files with 53 additions and 15 deletions
+1
View File
@@ -17,6 +17,7 @@ weight=1
-d, --detach=false Detached mode: run command in the background
-i, --interactive=false Keep STDIN open even if not attached
--privileged=false Give extended privileges to the command
-t, --tty=false Allocate a pseudo-TTY
-u, --user= Username or UID (format: <name|uid>[:<group|gid>])