浏览代码

Added escape sequence to tutorial

Song Gao 12 年之前
父节点
当前提交
b22c973110
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docs/sources/use/basics.rst

+ 2 - 0
docs/sources/use/basics.rst

@@ -33,6 +33,8 @@ Running an interactive shell
 
   # Run an interactive shell in the ubuntu image,
   # allocate a tty, attach stdin and stdout
+  # To detach the tty without exiting the shell,
+  # use the escape sequence Ctrl-p + Ctrl-q
   sudo docker run -i -t ubuntu /bin/bash
 
 Why ``sudo``?