mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Implement configurable detach key
Implement configurable detach keys (for `attach`, exec`, `run` and `start`) using the client-side configuration - Adds a `--detach-keys` flag to `attach`, `exec`, `run` and `start` commands. - Adds a new configuration field (in `~/.docker/config.json`) to configure the default escape keys for docker client. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
eb551baf6f
commit
15aa2a663b
27 changed files with 583 additions and 61 deletions
|
@ -25,6 +25,7 @@ type Config struct {
|
|||
OpenStdout bool
|
||||
CanRemove bool
|
||||
ContainerID string
|
||||
DetachKeys []byte
|
||||
|
||||
// waitStart will be closed immediately after the exec is really started.
|
||||
waitStart chan struct{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue