Cli/ref/mw docker shellbox syntaxhighlight exec

mw docker shellbox syntaxhighlight exec
Execute a command in the main container

mw docker shellbox syntaxhighlight exec [flags] [command...]

Examples
exec bash exec -- bash --help exec --user root bash exec --user root -- bash --help

Options
-u, --user string  User to run as, defaults to current OS user uid:gid (default &quot;0:0&quot;)

Options inherited from parent commands
-c, --context string  The context to use (default &quot;default&quot;) --help            Help for this command --no-interaction  Do not ask any interactive questions -v, --verbose count   Increase output verbosity. Example: --verbose=2 or -vv