Update example request for container update in docs.
Signed-off-by: Joffrey F <joffrey@docker.com> Upstream-commit: 5f0643b082d4fe5a7be9fa0a00088e3e37882824 Component: engine
This commit is contained in:
@ -1034,20 +1034,16 @@ Update resource configs of one or more containers.
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"UpdateConfig": {
|
||||
"Resources": {
|
||||
"BlkioWeight": 300,
|
||||
"CpuShares": 512,
|
||||
"CpuPeriod": 100000,
|
||||
"CpuQuota": 50000,
|
||||
"CpusetCpus": "0,1",
|
||||
"CpusetMems": "0",
|
||||
"Memory": 314572800,
|
||||
"MemorySwap": 514288000,
|
||||
"MemoryReservation": 209715200,
|
||||
"KernelMemory": 52428800,
|
||||
}
|
||||
}
|
||||
"BlkioWeight": 300,
|
||||
"CpuShares": 512,
|
||||
"CpuPeriod": 100000,
|
||||
"CpuQuota": 50000,
|
||||
"CpusetCpus": "0,1",
|
||||
"CpusetMems": "0",
|
||||
"Memory": 314572800,
|
||||
"MemorySwap": 514288000,
|
||||
"MemoryReservation": 209715200,
|
||||
"KernelMemory": 52428800,
|
||||
}
|
||||
|
||||
**Example response**:
|
||||
|
||||
@ -1034,20 +1034,16 @@ Update resource configs of one or more containers.
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"UpdateConfig": {
|
||||
"Resources": {
|
||||
"BlkioWeight": 300,
|
||||
"CpuShares": 512,
|
||||
"CpuPeriod": 100000,
|
||||
"CpuQuota": 50000,
|
||||
"CpusetCpus": "0,1",
|
||||
"CpusetMems": "0",
|
||||
"Memory": 314572800,
|
||||
"MemorySwap": 514288000,
|
||||
"MemoryReservation": 209715200,
|
||||
"KernelMemory": 52428800,
|
||||
}
|
||||
}
|
||||
"BlkioWeight": 300,
|
||||
"CpuShares": 512,
|
||||
"CpuPeriod": 100000,
|
||||
"CpuQuota": 50000,
|
||||
"CpusetCpus": "0,1",
|
||||
"CpusetMems": "0",
|
||||
"Memory": 314572800,
|
||||
"MemorySwap": 514288000,
|
||||
"MemoryReservation": 209715200,
|
||||
"KernelMemory": 52428800,
|
||||
}
|
||||
|
||||
**Example response**:
|
||||
|
||||
Reference in New Issue
Block a user