smolvm sandbox shell opens an interactive shell inside a sandbox. On recent Linux images it uses the SmolVM guest agent for fast terminal access; when that is unavailable, use smolvm sandbox ssh for a regular SSH session.
Synopsis
Arguments
Name or ID of the sandbox to connect to.
Options
Seconds to wait if SmolVM needs to start or resume the sandbox before connecting.
Examples
Open a shell
Create and connect
Allow more startup time
How it behaves
If the sandbox is stopped or newly created, SmolVM starts it first. If the sandbox is paused, SmolVM resumes it. If the guest agent supports terminal access, the shell opens over the guest-agent terminal stream. Usesmolvm sandbox ssh when you need SSH-specific behavior such as a custom user, custom key, or SSH tooling.
Related commands
smolvm sandbox ssh- Open a real SSH sessionsmolvm sandbox create- Create a sandbox- Control channel - Learn how guest-agent communication works
