Skip to content

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.

Terminal window
droneship shell [OPTIONS] [COMMAND]
Argument Description
COMMAND One-off remote command (interactive shell when omitted) (optional)
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)

Open a shell in your sandbox:

Terminal window
droneship shell

Run one command in it:

Terminal window
droneship shell npm test

Choose a sandbox when you have more than one, and forward a port:

Terminal window
droneship shell --id <sandbox-id> -L 3000

Generated from the CLI. Verified against droneship 1.12.0.