---
title: "Changes to Create a container"
method: POST
path: "/containers/create"
---

# Changes to Create a container

`POST /containers/create`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 79 revisions.

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

## Changes

- **2026-02-24** `6df97b60796c`: 2 breaking, 6 info
  - removed the request body
  - removed the success response with the status `200`
  - api tag `Container` added
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`
  - added the non-success response with the status `409`
  - added the non-success response with the status `500`
  - added the success response with the status `201`
- **2026-02-14** `31f80d10d31a`: 4 breaking, 1 warning, 31 info
  - removed the media type `application/octet-stream` from the request body
  - the request's body type changed from no type to `object`
  - for the `query` request parameter `platform`, default value `` was removed
  - removed the success response with the status `201`
  - removed `#/components/schemas/ContainerConfig, subschema #2` from the request body `allOf` list
  - api tag `Container` removed
  - added the new optional request property `ArgsEscaped`
  - added the new optional request property `AttachStderr`
  - added the new optional request property `AttachStdin`
  - added the new optional request property `AttachStdout`
  - added the new optional request property `Cmd`
  - added the new optional request property `Domainname`
  - added the new optional request property `Entrypoint`
  - added the new optional request property `Env`
  - added the new optional request property `ExposedPorts`
  - added the new optional request property `Healthcheck`
  - added the new optional request property `Hostname`
  - added the new optional request property `Image`
  - added the new optional request property `Labels`
  - added the new optional request property `NetworkDisabled`
  - added the new optional request property `OnBuild`
  - added the new optional request property `OpenStdin`
  - added the new optional request property `Shell`
  - added the new optional request property `StdinOnce`
  - added the new optional request property `StopSignal`
  - added the new optional request property `StopTimeout`
  - added the new optional request property `Tty`
  - added the new optional request property `User`
  - added the new optional request property `Volumes`
  - added the new optional request property `WorkingDir`
  - removed the pattern `^/?[a-zA-Z0-9][a-zA-Z0-9_.-]+$` from the `query` request parameter `name`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `409`
  - removed the non-success response with the status `500`
  - added the success response with the status `200`
- **2026-02-09** `831637d06c77`: 1 breaking, 5 info
  - added required 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 `400`
  - 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 `409`
  - added the media type `application/json` for the response with the status `500`

---

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