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

This reverts commit 40b71adee390e9c06471b89ed845132b4ec80177.

Original commit (for which this is effectively a rebased version) is
72a500e9e5929b038816d8bd18d462a19e571c99 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-06-19 16:01:50 +10:00
committed by Tibor Vass
parent 47f2d2bc86
commit d0fa83e285
3 changed files with 10 additions and 1 deletions

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>])