---
title: "Stop Container"
method: POST
path: "/docker/stop-container/{container_name}"
tags: ["Docker"]
---

# Stop Container

`POST /docker/stop-container/{container_name}`

Stop a running Docker container.

Sends a stop signal to the specified container, allowing it to gracefully shut down.
The container will move to the "exited" state but will not be removed. Use this
to pause trading activity without losing container state.

Use this endpoint to temporarily stop a bot (e.g., during maintenance) while
preserving the ability to restart it quickly.

## Path parameters

- `container_name` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

- **2026-01-18** `576ec8539f76` — 1 breaking
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
- **2025-12-20** `1005bcd47280` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hummingbot/apis/hummingbot-api/changes/docker/stop-container/:container_name/post.md)

---

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