Skip to content

mw dev custom exec

Releasev0.35.0 · cfeceb67

mw dev custom exec [flags] [command...]

Run a command inside the custom container. Arguments after – are passed to the container command; use –user to choose the execution user.

-u, --user <string>
User to run as, defaults to current OS user uid:gid Default: 1000:1000.
-c, --context <string>
Development context to use (overrides CONTEXT) Default: default.
--help
Help for this command
-n, --name <string>
Name of the custom compose file (without extension), e.g. custom, custom-two, or custom.local Default: custom.
--no-interaction
Do not ask any interactive questions
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
mw dev custom exec bash
mw dev custom exec -- bash --help
mw dev custom exec --user root bash
mw dev custom exec --user root -- bash --help
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.