---
title: "Changes to Create a new image from a container"
method: POST
path: "/commit"
---

# Changes to Create a new image from a container

`POST /commit`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 79 revisions.

- **2026-02-24** `6df97b60796c`: 2 breaking, 4 info
- **2026-02-14** `31f80d10d31a`: 7 breaking, 14 info
- **2026-02-09** `831637d06c77`: 4 info

## Changes

- **2026-02-24** `6df97b60796c`: 2 breaking, 4 info
  - removed the request body
  - removed the success response with the status `200`
  - api tag `Image` added
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`
  - added the success response with the status `201`
- **2026-02-14** `31f80d10d31a`: 7 breaking, 14 info
  - request body became required
  - for the `query` request parameter `pause`, default value `true` was removed
  - removed the enum value `{}` of the request property `ExposedPorts/additionalProperties/`
  - removed the enum value `{}` of the request property `Volumes/additionalProperties/`
  - the `Healthcheck/Retries` request property format changed from no format to `int32`
  - the `StopTimeout` request property format changed from no format to `int32`
  - removed the success response with the status `201`
  - api tag `Image` removed
  - the `` request property default value `{}` was removed
  - the `` request property default value `{}` was removed
  - the `ArgsEscaped` request property default value `false` was removed
  - the `AttachStderr` request property default value `true` was removed
  - the `AttachStdin` request property default value `false` was removed
  - the `AttachStdout` request property default value `true` was removed
  - the `OpenStdin` request property default value `false` was removed
  - the `StdinOnce` request property default value `false` was removed
  - the `StopTimeout` request property default value `10` was removed
  - the `Tty` request property default value `false` was removed
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `500`
  - added the success response with the status `200`
- **2026-02-09** `831637d06c77`: 4 info
  - added optional request body
  - added the media type `application/json` for the response with the status `201`
  - 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/commit/post.md) - [API](https://skmtc.dev/hexlet/apis/docker-engine-api.md) - [Page](https://skmtc.dev/hexlet/apis/docker-engine-api/changes/commit/post)
