소스 검색

Merge pull request #8614 from ryanrdetzel/master

exec docs syntax fix
James Turnbull 10 년 전
부모
커밋
04932e38af
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/sources/reference/commandline/cli.md

+ 1 - 1
docs/sources/reference/commandline/cli.md

@@ -642,7 +642,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`.