HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

orb — Interface for OrbStack, a fast and lightweight container and virtual machine runtime for macOS. Prov

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandorborbstackandinterfaceclifastfor
macos

Problem

How to use the orb command: Interface for OrbStack, a fast and lightweight container and virtual machine runtime for macOS. Provides Docker-compatible commands and Linux VM management. More information: <https://docs.orbstack.dev/headless>.

Solution

orb — Interface for OrbStack, a fast and lightweight container and virtual machine runtime for macOS. Provides Docker-compatible commands and Linux VM management. More information: <https://docs.orbstack.dev/headless>.

List all containers and VMs:
orb list


Create and start a Linux virtual machine:
orb create {{vm_name}}


Create a VM with a specific Linux distribution:
orb create {{vm_name}} {{ubuntu|fedora|arch|debian}}


Start or stop a virtual machine:
orb {{start|stop}} {{vm_name}}


Connect to a VM via SSH:
orb ssh {{vm_name}}


Execute a command in a VM:
orb exec {{vm_name}} {{command}}


Delete a virtual machine:
orb delete {{vm_name}}


Show system status and resource usage:
orb status

Code Snippets

List all containers and VMs

orb list

Create and start a Linux virtual machine

orb create {{vm_name}}

Create a VM with a specific Linux distribution

orb create {{vm_name}} {{ubuntu|fedora|arch|debian}}

Start or stop a virtual machine

orb {{start|stop}} {{vm_name}}

Connect to a VM via SSH

orb ssh {{vm_name}}

Context

tldr-pages: osx/orb

Revisions (0)

No revisions yet.