---
title: "Changes to Update a container"
method: POST
path: "/containers/{id}/update"
---

# Changes to Update a container

`POST /containers/{id}/update`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 79 revisions.

- **2026-02-24** `6df97b60796c`: 2 breaking, 3 info
- **2026-02-14** `31f80d10d31a`: 1 breaking, 1 warning, 33 info
- **2026-02-09** `831637d06c77`: 1 breaking, 3 info

## Changes

- **2026-02-24** `6df97b60796c`: 2 breaking, 3 info
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`
  - api tag `Container` added
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`
- **2026-02-14** `31f80d10d31a`: 1 breaking, 1 warning, 33 info
  - the request's body type changed from no type to `object`
  - removed `#/components/schemas/Resources, subschema #2` from the request body `allOf` list
  - api tag `Container` removed
  - added the new optional request property `BlkioDeviceReadBps`
  - added the new optional request property `BlkioDeviceReadIOps`
  - added the new optional request property `BlkioDeviceWriteBps`
  - added the new optional request property `BlkioDeviceWriteIOps`
  - added the new optional request property `BlkioWeight`
  - added the new optional request property `BlkioWeightDevice`
  - added the new optional request property `CgroupParent`
  - added the new optional request property `CpuCount`
  - added the new optional request property `CpuPercent`
  - added the new optional request property `CpuPeriod`
  - added the new optional request property `CpuQuota`
  - added the new optional request property `CpuRealtimePeriod`
  - added the new optional request property `CpuRealtimeRuntime`
  - added the new optional request property `CpuShares`
  - added the new optional request property `CpusetCpus`
  - added the new optional request property `CpusetMems`
  - added the new optional request property `DeviceCgroupRules`
  - added the new optional request property `DeviceRequests`
  - added the new optional request property `Devices`
  - added the new optional request property `IOMaximumBandwidth`
  - added the new optional request property `IOMaximumIOps`
  - added the new optional request property `Init`
  - added the new optional request property `Memory`
  - added the new optional request property `MemoryReservation`
  - added the new optional request property `MemorySwap`
  - added the new optional request property `MemorySwappiness`
  - added the new optional request property `NanoCpus`
  - added the new optional request property `OomKillDisable`
  - added the new optional request property `PidsLimit`
  - added the new optional request property `Ulimits`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `500`
- **2026-02-09** `831637d06c77`: 1 breaking, 3 info
  - added required request body
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `404`
  - added the media type `application/json` for the response with the status `500`

---

[Operation](https://skmtc.dev/hexlet/apis/docker-engine-api/docs/containers/:id/update/post.md) - [API](https://skmtc.dev/hexlet/apis/docker-engine-api.md) - [Page](https://skmtc.dev/hexlet/apis/docker-engine-api/changes/containers/:id/update/post)
