Docs syntax fix

the flags must come before the container name.
Upstream-commit: b8b9930a8ab95cfe32731e014a57690f154d01fa
Component: engine
This commit is contained in:
Ryan Detzel
2014-10-16 15:57:38 -04:00
parent 9110a950dd
commit 43742710a1

View File

@ -640,7 +640,7 @@ This will create a container named `ubuntu_bash` and start a Bash session.
This will create a new file `/tmp/execWorks` inside the running container
`ubuntu_bash`, in the background.
$ sudo docker exec ubuntu_bash -it bash
$ sudo docker exec -it ubuntu_bash bash
This will create a new Bash session in the container `ubuntu_bash`.