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

This reverts commit 72a500e9e5929b038816d8bd18d462a19e571c99.

Signed-off-by: Jessica Frazelle <princess@docker.com>

Conflicts:
	daemon/execdriver/native/exec.go
	integration-cli/docker_cli_exec_test.go
	runconfig/exec.go
This commit is contained in:
Jessica Frazelle 2015-05-26 14:02:10 -07:00 committed by Tibor Vass
parent dc770ac858
commit 05c0da3b96
2 changed files with 1 additions and 2 deletions

View File

@ -407,7 +407,7 @@ _docker_events() {
_docker_exec() { _docker_exec() {
case "$cur" in case "$cur" in
-*) -*)
COMPREPLY=( $( compgen -W "--detach -d --help --interactive -i --privileged -t --tty -u --user" -- "$cur" ) ) COMPREPLY=( $( compgen -W "--detach -d --help --interactive -i -t --tty -u --user" -- "$cur" ) )
;; ;;
*) *)
__docker_containers_running __docker_containers_running

View File

@ -1201,7 +1201,6 @@ You'll need two shells for this example.
-d, --detach=false Detached mode: run command in the background -d, --detach=false Detached mode: run command in the background
-i, --interactive=false Keep STDIN open even if not attached -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 -t, --tty=false Allocate a pseudo-TTY
-u, --user= Username or UID (format: <name|uid>[:<group|gid>]) -u, --user= Username or UID (format: <name|uid>[:<group|gid>])