Skip to main content
Use beam vm --help or beam vm COMMAND --help for the installed CLI’s help. Select another workspace context before the command:

Create

Choose only one of --image, --image-id, --dockerfile, and --template. Omitted settings inherit the saved specification when creating from a template. See configuration for supported images and resource bounds.

Inspect and manage

Commands, processes, and files

See commands and SSH for quoting, stdin, exit codes, logs, systemd, and activity leases.

URLs and networking

See networking and desktop for protection and browser sessions.

Snapshots and forks

template create --public is reserved and returns an error; complete VM roots remain private. See storage and snapshots for RAM and mounted-storage boundaries.

Image building

The build context defaults to .. -f / --file PATH selects the Dockerfile; otherwise it uses BUILD_CONTEXT/Dockerfile. Use repeatable --secret NAME / --build-secret NAME, --desktop, and --json. The result contains an image_id usable with beam vm new --image-id.

Python API equivalents

Use the VM lifecycle and port methods for the persistent resource. Its async process/filesystem/Docker interface reuses sandbox transports; sandbox termination and sandbox preview-URL methods are not replacements for VM lifecycle and stable URLs.