# ed machines docker compose down

> ed machines docker compose down in the Edith ed command line reference. Takes a compose project down.

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

Takes a compose project down.

```
ed machines docker compose down [--json] <machine> <project>
```

## Arguments

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `<machine>` | machine name, ssh alias, id, or any unambiguous prefix | required | Which machine to act on. |
| `<project>` | compose project name, exactly as `compose ls` prints it | required | Which project to take down. |

## 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": "down",
  "machine": "Devbox",
  "project": "noveum-local-db"
}
```

## Examples

```
ed machines devbox docker compose down noveum-local-db
ed machines devbox docker compose down noveum-local-db --json
```

## Behaviour notes

The remote command is `docker compose -p <project> down`, with a 300 second
ceiling and the same project check `up` performs. `down` removes the project's
containers and its default network. Named volumes survive: `-v` is never passed,
and there is no flag here that would pass it. To remove a project's data as
well, list its volumes with `ed machines docker volumes` and take them with
`ed machines docker volume-rm --yes`.

After a successful `down` the project disappears from `compose ls`, so the
matching `up` through `ed` will not find it. That round trip is the reason to
prefer the raw form for projects you take all the way down.

## 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
