nodus shell
View Markdownnodus shell
Section titled “nodus shell”Open an interactive shell in a Sandbox, creating it if it is not there
Synopsis
Section titled “Synopsis”shell opens a terminal in a Sandbox. A name that does not exist yet is created from the same flags as nodus create sandbox (startup defaults are resolved by the API; –image overrides them), and the Sandbox stays after the shell exits, so the next nodus shell finds /workspace as you left it; –rm deletes a Sandbox this command created when the shell exits. Without a name the shell gets a Sandbox of its own, which is deleted when it exits unless –keep is set. The command after – replaces bash.
nodus shell [sandbox/NAME] [flags] [-- COMMAND...]Examples
Section titled “Examples” nodus shell sandbox/dev nodus shell sandbox/dev --cpu 4 --memory 8Gi nodus shell sandbox/dev --rm nodus shell nodus shell sandbox/dev -- zshOptions
Section titled “Options” --cpu string vCPU floor --disk string Disk floor, such as 50Gi --gpu string Accelerator TYPE[:COUNT], such as L4 or H100:8 -h, --help help for shell --idle-timeout string Stop after this idle time --image string Container image --inherit-startup Inherit organization and project startup defaults (default true) --keep Without a name: keep the Sandbox after the shell exits --max-cost string Spend limit in USD --memory string Memory floor, such as 16Gi --rm Delete the Sandbox when the shell exits (only one this command created) --secret stringArray Secret to mount (repeatable) --startup-profile string Organization startup profile; explicit flags override its defaults (Alpha) --virtualization-profile string Qualified parent profile, such as gpu-child-v1 (Alpha); the API validates availabilityOptions inherited from parent commands
Section titled “Options inherited from parent commands” --context string Context from the config file to use --org string Organization (selects the context for that org) -p, --project string Project to work in -v, --verbose Log each API request (never credentials)SEE ALSO
Section titled “SEE ALSO”- nodus - Run compute Jobs on Nodus
Tested examples
Section titled “Tested examples”These invocations run in CI against the CLI’s fake API.
nodus shell sandbox/labnodus shell sandbox/lab -- zshnodus shell sandbox/scratch --rmnodus shell