---
title: "POST /containers/{id}/restart"
method: POST
path: "/containers/{id}/restart"
---

# POST /containers/{id}/restart

`POST /containers/{id}/restart`

Restart a container

## Path parameters

- `id` string, required

## Query parameters

- `signal` string
- `t` integer

## Response `204`

There is no content to send for this request, but the headers may be useful.

## Changes

- **2026-02-14** `31f80d10d31a` — 1 breaking, 3 info
  - for the `query` request parameter `t`, the type/format was changed from `integer`/`` to `integer`/`int32`
  - api tag `Container` removed
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `500`

[Change history](https://skmtc.dev/hexlet/apis/docker-engine-api/changes/containers/:id/restart/post.md)

---

[API](https://skmtc.dev/hexlet/apis/docker-engine-api.md) · [All operations](https://skmtc.dev/hexlet/apis/docker-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hexlet/docker-engine-api/revisions/7dbd508c79cf/schema)
