mirror of
https://github.com/docker/cli.git
synced 2025-08-01 04:26:55 +03:00
Updated test to check for exec --privileged
side-effects
Also improving documentation for same feature as part of docker/docker#14113 docs review. Signed-off-by: Tim Dettrick <t.dettrick@uq.edu.au>
This commit is contained in:
@ -17,7 +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
|
||||
--privileged=false Give extended Linux capabilities to the command
|
||||
-t, --tty=false Allocate a pseudo-TTY
|
||||
-u, --user= Username or UID (format: <name|uid>[:<group|gid>])
|
||||
|
||||
@ -53,4 +53,3 @@ This will create a new file `/tmp/execWorks` inside the running container
|
||||
$ docker exec -it ubuntu_bash bash
|
||||
|
||||
This will create a new Bash session in the container `ubuntu_bash`.
|
||||
|
||||
|
Reference in New Issue
Block a user