CLI Documentation
Stop a session
The stop
command in MarinaBox CLI is used to stop a running session using its session ID. This ensures that resources are released and the session is gracefully terminated.
Command Syntax
Description
This command stops a specific active session identified by its session_id
. It:
- Gracefully shuts down processes running within the sandbox.
- Releases allocated resources like memory and ports.
- Moves the session to the closed sessions list for historical tracking.
Example Usage
Stop a Specific Session:
Example Output:
If the session ID is invalid or the session is already stopped, an error message is displayed:
Notes
- Use the
session_id
from thelist
command to ensure you’re targeting the correct active session. - This command does not affect sessions that are already closed. Use the
list-closed
command to view stopped sessions.
Get Support & Join Our Community
- Discord: https://discord.gg/nAyFBSSU87
- Email: askmarinabox@gmail.com