Merge pull request #14113 from dit4c/10348-exec-privileged

Remerge of `docker exec --privileged` with better tests
This commit is contained in:
Sebastiaan van Stijn
2015-08-16 00:20:41 +02:00
7 changed files with 68 additions and 17 deletions
+1 -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 Linux capabilities to the command
-t, --tty=false Allocate a pseudo-TTY
-u, --user= Username or UID (format: <name|uid>[:<group|gid>])
@@ -52,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`.