Interactive console
Open an SSH session directly inside a running sandbox:shell, ssh, s
Ctrl+D or type exit to close.
The sandbox must be running before you can open a console. Use
pocketenv start my-sandbox first if it’s stopped.Execute a single command
Run a command non-interactively and get the output back:Copy files
Transfer files between your local machine and a sandbox usingpocketenv copy (alias: cp):
Clone a repository on start
Pass--repo when starting a sandbox to automatically clone a git repository:
--ssh flag opens a console immediately after the sandbox starts.
Keep-alive
By default, idle sandboxes stop automatically after a period of inactivity. Use--keep-alive to prevent that:
