the flags must come before the container name.
| ... | ... |
@@ -640,7 +640,7 @@ This will create a container named `ubuntu_bash` and start a Bash session. |
| 640 | 640 |
This will create a new file `/tmp/execWorks` inside the running container |
| 641 | 641 |
`ubuntu_bash`, in the background. |
| 642 | 642 |
|
| 643 |
- $ sudo docker exec ubuntu_bash -it bash |
|
| 643 |
+ $ sudo docker exec -it ubuntu_bash bash |
|
| 644 | 644 |
|
| 645 | 645 |
This will create a new Bash session in the container `ubuntu_bash`. |
| 646 | 646 |
|