зеркало из https://github.com/microsoft/docker.git
Docs: fix wrong example of API Exec
The last "," should not shown up, otherwise you will get the error back as below: - invalid character '}' looking for beginning of object key string. Signed-off-by: Hu Keping <hukeping@huawei.com>
This commit is contained in:
Родитель
4dd1d1bfa5
Коммит
221fa4c3d1
|
@ -1875,7 +1875,7 @@ Sets up an exec instance in a running container `id`
|
|||
"Tty": false,
|
||||
"Cmd": [
|
||||
"date"
|
||||
],
|
||||
]
|
||||
}
|
||||
|
||||
**Example response**:
|
||||
|
@ -1917,7 +1917,7 @@ interactive session with the `exec` command.
|
|||
|
||||
{
|
||||
"Detach": false,
|
||||
"Tty": false,
|
||||
"Tty": false
|
||||
}
|
||||
|
||||
**Example response**:
|
||||
|
|
Загрузка…
Ссылка в новой задаче