# ed machines docker compose up

> ed machines docker compose up in the Edith ed command line reference. Brings a compose project up in the background.

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

Brings a compose project up in the background.

```
ed machines docker compose up [--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 bring up. |

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

Human output is one line, `up -d <project>`.

## `--json` shape

```json
{
  "action": "up -d",
  "machine": "Devbox",
  "project": "noveum-local-db"
}
```

`action` carries the compose action as it was sent, so it reads `up -d` rather
than `up`.

## Examples

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

## Behaviour notes

The project name is checked against `compose ls` before anything runs, and an
unknown one exits 3 with the projects that do exist as the hint, or with a nudge
to look again when there are none:

```
$ ed machines devbox docker compose up noveum-local-db
error: no compose project named noveum-local-db on Devbox
hint: run `ed machines Devbox docker compose ls` to look again
```

That is the common failure, and it is usually not a typo: `compose ls` lists
only running projects, so a project that is fully down cannot be named here.
Bring it up through the raw form, from the directory that holds its file:
`ed devbox 'cd /srv/app && docker compose up -d'`.

The remote command is `docker compose -p <project> up -d`, run from the SSH
login directory, with no `-f` and no `--project-directory`. Compose has to be
able to find the project's configuration from there; when it cannot, its own
message comes back as the hint on an exit 1. The ceiling is 300 seconds.

There is no Docker window equivalent for this verb. The window groups containers
by compose project but never runs compose itself.

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