mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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:
parent
4dd1d1bfa5
commit
221fa4c3d1
1 changed files with 2 additions and 2 deletions
|
@ -1875,7 +1875,7 @@ Sets up an exec instance in a running container `id`
|
||||||
"Tty": false,
|
"Tty": false,
|
||||||
"Cmd": [
|
"Cmd": [
|
||||||
"date"
|
"date"
|
||||||
],
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
@ -1917,7 +1917,7 @@ interactive session with the `exec` command.
|
||||||
|
|
||||||
{
|
{
|
||||||
"Detach": false,
|
"Detach": false,
|
||||||
"Tty": false,
|
"Tty": false
|
||||||
}
|
}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
Loading…
Add table
Reference in a new issue