mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
15aa2a663b
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>
39 lines
1 KiB
Markdown
39 lines
1 KiB
Markdown
% DOCKER(1) Docker User Manuals
|
|
% Docker Community
|
|
% JUNE 2014
|
|
# NAME
|
|
docker-start - Start one or more containers
|
|
|
|
# SYNOPSIS
|
|
**docker start**
|
|
[**-a**|**--attach**]
|
|
[**--detach-keys**[=*[]*]]
|
|
[**--help**]
|
|
[**-i**|**--interactive**]
|
|
CONTAINER [CONTAINER...]
|
|
|
|
# DESCRIPTION
|
|
|
|
Start one or more containers.
|
|
|
|
# OPTIONS
|
|
**-a**, **--attach**=*true*|*false*
|
|
Attach container's STDOUT and STDERR and forward all signals to the
|
|
process. The default is *false*.
|
|
|
|
**--detach-keys**=""
|
|
Override the key sequence for detaching a container. Format is a single character `[a-Z]` or `ctrl-<value>` where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
|
|
|
|
**--help**
|
|
Print usage statement
|
|
|
|
**-i**, **--interactive**=*true*|*false*
|
|
Attach container's STDIN. The default is *false*.
|
|
|
|
# See also
|
|
**docker-stop(1)** to stop a container.
|
|
|
|
# HISTORY
|
|
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
|
based on docker.com source material and internal work.
|
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|