mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #19846 from shin-/remote_api_container_update_doc
Update example request for container update in docs.
This commit is contained in:
commit
d069e8e7b7
2 changed files with 20 additions and 28 deletions
|
@ -1034,8 +1034,6 @@ Update resource configs of one or more containers.
|
|||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"UpdateConfig": {
|
||||
"Resources": {
|
||||
"BlkioWeight": 300,
|
||||
"CpuShares": 512,
|
||||
"CpuPeriod": 100000,
|
||||
|
@ -1047,8 +1045,6 @@ Update resource configs of one or more containers.
|
|||
"MemoryReservation": 209715200,
|
||||
"KernelMemory": 52428800,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
|
|
@ -1034,8 +1034,6 @@ Update resource configs of one or more containers.
|
|||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"UpdateConfig": {
|
||||
"Resources": {
|
||||
"BlkioWeight": 300,
|
||||
"CpuShares": 512,
|
||||
"CpuPeriod": 100000,
|
||||
|
@ -1047,8 +1045,6 @@ Update resource configs of one or more containers.
|
|||
"MemoryReservation": 209715200,
|
||||
"KernelMemory": 52428800,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue