Command reference
ed machines docker compose config
Resolves a Compose project's effective configuration on a machine and prints a masked revision you can save and compare later. It never starts, stops or pulls anything.
ed machines docker compose config <machine> <project> --directory <path> [--tool <path>] [--file <path>]... [--profile <name>]... [--json] [--output <file>]Arguments and options
| Name | Type / values | Default | What it does |
|---|---|---|---|
<machine> |
string, required | none | Saved machine name, SSH alias or id. |
<project> |
lowercase Compose project name, required | none | Passed as --project-name. |
--directory |
path on the machine, required | none | Project directory. Relative --file paths start here. |
--tool |
path or command name | docker |
Docker executable on the machine. It is quoted as one word, never run as a shell fragment. |
--file |
path, repeatable up to 16 | Compose discovery | Compose files in merge order. |
--profile |
name, repeatable up to 16 | none | Profiles to enable. |
--json |
flag | off | Print the masked revision envelope instead of the configuration text. |
--output |
new local file | none | Also write the masked revision envelope there. An existing file is never replaced. |
Behaviour
The machine runs <tool> compose --project-name ... --project-directory ... config --format json, through PowerShell on Windows, with a sixty second
deadline. Interpolation, environment files and relative paths resolve on the
machine, and running containers are not required. Tool failures report a
generic message because Compose diagnostics can echo resolved secrets.
A revision holds id, createdAt, scope, configuration, services and
conflicts. Each service has id, image, ports and bindMounts. Port
conflicts compare overlapping published ranges on the same protocol and host,
treating 0.0.0.0 and :: as every host. Ephemeral ports are skipped. These
are conflicts inside one configuration, not processes already listening.
Environment values, labels, commands, entrypoints, build settings, health checks, secrets, configs and unknown fields are masked before a revision leaves Edith. Strings of eight or more characters from those fields are also masked wherever they reappear, such as inside an image name, and image references with embedded credentials are hidden. Shorter values are not searched for, so ports and service names stay readable.
In the app, open a machine's Docker tab and choose Compose review. Pick a running project or type one, set its directory, capture a revision, change the project, capture again and compare. The page keeps up to twenty masked revisions until it closes, and Export masked JSON saves the selected revision or comparison.
Examples
ed machines docker compose config box storefront --directory /srv/storefront --output before.jsoned machines docker compose config box storefront --directory /srv/storefront --file compose.yaml --file compose.prod.yaml --profile web --json