---
title: "Stop container"
method: POST
path: "/docker/containers/{sessionId}/{containerId}/stop"
tags: ["Docker"]
---

# Stop container

`POST /docker/containers/{sessionId}/{containerId}/stop`

Stops a specific container.

## Path parameters

- `sessionId` string, required
- `containerId` string, required

## Response `200`

Container stopped successfully.

## Other responses

- `400` — SSH session not found or not connected.
- `404` — Container not found.
- `500` — Failed to stop container.

---

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