mirror of https://github.com/docker/cli.git
Cleaned up formatting/typesetting.
Changed backticks to bold/italics, removed angle brackets.
Signed-off-by: Kelton Bassingthwaite <KeltonBassingthwaite@gmail.com>
(cherry picked from commit 2a167065d2
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
06faf2b40e
commit
1ca0b09336
|
@ -10,7 +10,7 @@ configurable key sequence. The default sequence is `CTRL-p CTRL-q`. You
|
||||||
configure the key sequence using the **--detach-keys** option or a configuration
|
configure the key sequence using the **--detach-keys** option or a configuration
|
||||||
file. See **config-json(5)** for documentation on using a configuration file.
|
file. See **config-json(5)** for documentation on using a configuration file.
|
||||||
|
|
||||||
It is forbidden to redirect the standard input of a `docker attach` command while
|
It is forbidden to redirect the standard input of a **docker attach** command while
|
||||||
attaching to a tty-enabled container (i.e.: launched with `-t`).
|
attaching to a tty-enabled container (i.e.: launched with `-t`).
|
||||||
|
|
||||||
# Override the detach sequence
|
# Override the detach sequence
|
||||||
|
@ -22,18 +22,18 @@ sequence, as a per-container override or as a configuration property on your
|
||||||
entire configuration.
|
entire configuration.
|
||||||
|
|
||||||
To override the sequence for an individual container, use the
|
To override the sequence for an individual container, use the
|
||||||
`--detach-keys="<sequence>"` flag with the `docker attach` command. The format of
|
**--detach-keys**=*key* flag with the **docker attach** command. The format of
|
||||||
the `<sequence>` is either a letter [a-Z], or the `ctrl-` combined with any of
|
the *key* is either a letter [a-Z], or the **ctrl**-*value*, where *value* is one
|
||||||
the following:
|
of the following:
|
||||||
|
|
||||||
* `a-z` (a single lowercase alpha character )
|
* **a-z** (a single lowercase alpha character )
|
||||||
* `@` (at sign)
|
* **@** (at sign)
|
||||||
* `[` (left bracket)
|
* **[** (left bracket)
|
||||||
* `\\` (two backward slashes)
|
* **\\** (two backward slashes)
|
||||||
* `_` (underscore)
|
* **_** (underscore)
|
||||||
* `^` (caret)
|
* **^** (caret)
|
||||||
|
|
||||||
These `a`, `ctrl-a`, `X`, or `ctrl-\\` values are all examples of valid key
|
These **a**, **ctrl-a**, **X**, or **ctrl-\\** values are all examples of valid key
|
||||||
sequences. To configure a different configuration default key sequence for all
|
sequences. To configure a different configuration default key sequence for all
|
||||||
containers, see **docker(1)**.
|
containers, see **docker(1)**.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue