delonix exec
Atalho de raiz para `delonix container exec` — a mesma struct de flags e o mesmo handler.
Root shortcut for `delonix container exec` — the same flag struct and the same handler.
delonix exec é um alias de topo de delonix container exec: carrega a MESMA struct de flags e despacha para o MESMO handler — para quem vem de Docker/Podman trocar só o executável e manter o fluxo. O bloco abaixo é o --help real de delonix exec; a referência completa das flags vive na página do grupo.
delonix exec is a root alias of delonix container exec: it carries the SAME flag struct and dispatches into the SAME handler, so a Docker/Podman user changes only the executable name. The block below is the real --help of delonix exec; the full flag reference lives on the group page.
📄 Implementação real em Rust: cmd/container.rs
Usage: delonix exec [OPTIONS] <ID> [COMMAND]...
Arguments:
<ID>
[COMMAND]...
Command + arguments. Omit it for the bash/sh fallback shell
Options:
-i, --interactive
Interactive (attaches stdin)
-t, --tty
Allocate a pseudo-terminal
-e, --env <ENV>
Extra environment variable (`KEY=VAL`) for this call only, on top of the container's own env. Repeatable
-w, --workdir <WORKDIR>
Working directory for this call only (default: the container's own configured `workdir`, or `/`)
-u, --user <USER>
Run as this user for this call only: `uid[:gid]` or `name[:group]` (resolved against the container's own `/etc/passwd`/`/etc/group`). Default: the container's own configured user
-h, --help
Print help (see a summary with '-h')
EXAMPLES:
# run a command inside a container that is already up
delonix exec web nginx -t
# an interactive shell, no command needed — tries bash, falls back to sh
delonix exec -it web
# as another user, in another directory, with an extra variable
delonix exec -u root -w /srv -e DEBUG=1 web env
SEE ALSO:
delonix logs · delonix ps · delonix container exec
delonix › exec