droneship shell
Open a shell in your sandbox, or run one command in it.
Anything after the flags runs inside the sandbox. Use --id when you have more than one sandbox.
droneship shell [OPTIONS] [COMMAND]Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
COMMAND |
One-off remote command (interactive shell when omitted) (optional) |
Options
Section titled “Options”| Option | Description | Default |
|---|---|---|
--id ID |
Which sandbox (your only one when omitted) | |
--forward, -L SPEC |
Forward a sandbox port to your machine: PORT or LPORT:HOST:RPORT (repeatable) |
Examples
Section titled “Examples”Open a shell in your sandbox:
droneship shellRun one command in it:
droneship shell npm testChoose a sandbox when you have more than one, and forward a port:
droneship shell --id <sandbox-id> -L 3000Generated from the CLI. Verified against droneship 1.12.0.