mirror of https://github.com/docker/cli.git
Docs syntax fix
the flags must come before the container name.
This commit is contained in:
parent
981a612adf
commit
ff38494bbe
|
|
@ -678,7 +678,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`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue