Usage
Description
Thenew command creates a new virtual computer in your cuse project. It sets up a Docker container with the specified operating system and configures the necessary services for remote access.
Options
Interactive Configuration
If options are not provided, the command will prompt you for:- Computer name (generates a unique name if not specified)
- Operating system selection
Example
Output
After successful creation, you’ll see:- Container ID
- Access URLs:
- API endpoint:
http://localhost:4242/<computer-name> - noVNC interface:
http://localhost:4242/<computer-name>/novnc/ - VNC endpoint:
http://localhost:4242/<computer-name>/vnc/
- API endpoint:
Troubleshooting
If services fail to start, the command will suggest:- Checking if the proxy is running:
npx @cusedev/cli proxy status - Checking container logs:
docker logs <container-id> - Checking proxy logs:
docker logs cuse-proxy - Trying to restart:
npx @cusedev/cli start <computer-name>