Skip to content

Orca exec

orca exec

Runs a command inside one of the containers in the environment

Synopsis

Runs a command in one of the project's services, with 'docker compose exec' if it's running, or 'docker compose run --rm' if it isn't.

Everything after the service is passed to the container as it is, so orca's own flags must come before it, e.g. 'orca exec -p api app ls -la'.

orca exec <service> [command...] [flags]

Options

  -h, --help               help for exec
  -p, --project string     The name of the project within the workspace to run this command for.
  -w, --workspace string   The name of the workspace to run this command for.

Options inherited from parent commands

      --log-format string   log format to use (default "text")
      --log-level string    Log level to use, one of: debug, info, warn, error, none. Defaults to none, as most errors are already surfaced anyway. (default "none")

SEE ALSO

  • orca - Orca is used to orchestrate complex development environments with docker compose.
Auto generated by spf13/cobra on 21-Oct-2026