---
title: "Changes to Create an exec instance"
method: POST
path: "/containers/{id}/exec"
---

# Changes to Create an exec instance

`POST /containers/{id}/exec`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 79 revisions.

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

## Changes

- **2026-02-24** `6df97b60796c`: 2 breaking, 5 info
  - removed the request body
  - removed the success response with the status `200`
  - api tag `Exec` added
  - 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`: 2 breaking, 6 info
  - the `ConsoleSize/items/` request property format changed from no format to `int32`
  - removed the success response with the status `201`
  - api tag `Exec` removed
  - the `Privileged` request property default value `false` was removed
  - 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, 4 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 `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/:id/exec/post.md) - [API](https://skmtc.dev/hexlet/apis/docker-engine-api.md) - [Page](https://skmtc.dev/hexlet/apis/docker-engine-api/changes/containers/:id/exec/post)
