# ed machines docker stop

> ed machines docker stop in the Edith ed command line reference. Stops a running container.

- Canonical URL: https://getedith.pro/docs/cli/machines-docker/stop
- Updated: 2026-12-02

Stops a running container.

```
ed machines docker stop [--json] <machine> <container>...
```

## Arguments

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `<machine>` | machine name, ssh alias, id, or any unambiguous prefix | required | Which machine to act on. |
| `<container>...` | one or more container names or ids | at least one required | Which containers to stop. Docker is given all of them in one call. |

## Options

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `--json` | flag | off | Emit JSON on stdout instead of the one-line confirmation. |
| `--help`, `-h` | flag | off | Print the help for this command on stdout and exit 0. |

## `--json` shape

```json
{
  "action": "stop",
  "containers": [
    "open-webui"
  ],
  "machine": "Devbox"
}
```

## Examples

```
ed machines devbox docker stop open-webui
ed machines devbox docker stop open-webui --json
```

## Behaviour notes

Runs `docker stop -t 10 <container>...`, so each container gets ten seconds to
exit on its own before docker kills it. The stop button on a group header in the
Docker window is this command with the group's running and paused containers
named. The whole call has a 120 second ceiling.
Stopping a container that is already stopped is docker's business and succeeds
quietly. Failure exits 1 with docker's stderr as the hint.

## Where to go next

- [`ed machines docker`](https://getedith.pro/docs/cli/machines-docker), the rest of this group
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
