mirror of https://github.com/docker/docs.git
Added escape sequence to tutorial
This commit is contained in:
parent
67c9ce6dd1
commit
b22c973110
|
@ -33,6 +33,8 @@ Running an interactive shell
|
||||||
|
|
||||||
# Run an interactive shell in the ubuntu image,
|
# Run an interactive shell in the ubuntu image,
|
||||||
# allocate a tty, attach stdin and stdout
|
# 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
|
sudo docker run -i -t ubuntu /bin/bash
|
||||||
|
|
||||||
Why ``sudo``?
|
Why ``sudo``?
|
||||||
|
|
Loading…
Reference in New Issue