create command in MarinaBox CLI is used to create a new session in a secure and isolated sandbox environment. This command supports multiple environment types and additional configuration options.
Video Tutorial
Command Syntax
Options:
--env-type: Specifies the type of environment for the session. Supported values:browser: Creates a sandboxed browser environment.desktop: Creates a sandboxed desktop environment.
--tag: (Optional) Assigns a custom tag to the session for easier identification.--kiosk: (Optional) Launches Chrome in kiosk mode (browser environment only). Removes tab controls and runs in fullscreen.--initial-url: (Optional) Specifies the initial URL to open when the browser starts (browser environment only).
Examples
1. Create a Browser Session
2. Create a Desktop Session with Custom Resolution
3. Create a Tagged Session
TestSession.
4. Create a Kiosk Mode Browser Session
5. Create a Browser Session with Initial URL
Command Behavior
- Environment Validation: Ensures the specified 
env-typeis valid (browserordesktop). - Port Allocation: Dynamically assigns ports for the sandbox environment to avoid conflicts.
 - Container Spin-Up: Creates the sandbox environment using the specified options and returns session details upon success.
 
Expected Output
Upon successful execution, the command returns details of the created session in JSON format:Get Support & Join Our Community
- Discord: https://discord.gg/nAyFBSSU87
 - Email: askmarinabox@gmail.com
 
