Scripts2026年6月2日·1 分钟阅读

OrbStack — Fast Lightweight Docker and Linux on macOS

A drop-in Docker Desktop replacement for macOS that starts containers in under two seconds with minimal CPU and memory overhead.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
OrbStack Overview
直接安装命令
npx -y tokrepo@latest install 0dd09797-5e1a-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

OrbStack is a lightweight alternative to Docker Desktop for macOS that provides a fast container runtime and Linux virtual machine environment. It starts in about two seconds, uses significantly less CPU and memory than Docker Desktop, and integrates seamlessly with existing Docker CLI workflows.

What OrbStack Does

  • Runs Docker containers on macOS with near-instant startup times
  • Provides full Linux VM environments accessible via the orb CLI
  • Supports Docker Compose, Kubernetes (via built-in k8s cluster), and container networking
  • Maps container ports and volumes automatically with native file system performance
  • Offers a clean menu bar interface for managing containers and machines

Architecture Overview

OrbStack runs a lightweight Linux VM using Apple's Virtualization.framework, sharing the macOS kernel's hypervisor for minimal overhead. The container runtime communicates with the Docker API over a Unix socket, maintaining full compatibility with the Docker CLI and Docker Compose. File sharing uses VirtioFS for native-speed volume mounts, avoiding the NFS or gRPC-FUSE overhead seen in Docker Desktop.

Self-Hosting & Configuration

  • Install via Homebrew or download the DMG from the official site
  • Migrates existing Docker Desktop containers and images automatically
  • Configure resource limits (CPU, memory, disk) through the preferences panel
  • Network settings include port forwarding, DNS resolution, and container-to-host routing
  • Supports running multiple Linux distributions simultaneously as lightweight VMs

Key Features

  • Sub-two-second container startup compared to 10+ seconds with Docker Desktop
  • Up to 50% less memory usage than Docker Desktop under equivalent workloads
  • Native Apple Silicon support with Rosetta 2 emulation for x86 images
  • Built-in Kubernetes cluster without additional add-ons
  • Automatic HTTPS with local domain names for running services

Comparison with Similar Tools

  • Docker Desktop — Full-featured but heavier on resources; OrbStack focuses on speed and efficiency
  • Colima — Open-source CLI-only alternative; OrbStack provides a GUI and faster file sharing
  • Lima — Underlying VM technology used by Colima; OrbStack optimizes the full stack
  • Rancher Desktop — Provides containerd/nerdctl options; OrbStack prioritizes Docker compatibility
  • Finch — AWS-backed container tool; OrbStack offers more mature macOS integration

FAQ

Q: Is OrbStack free? A: It is free for personal use. Commercial use requires a paid license.

Q: Can I migrate from Docker Desktop without losing data? A: Yes, OrbStack can automatically import existing Docker Desktop containers, images, and volumes.

Q: Does OrbStack support x86 containers on Apple Silicon? A: Yes, it uses Rosetta 2 for transparent emulation of x86/amd64 images on ARM Macs.

Q: Does OrbStack include Kubernetes? A: Yes, a single-node Kubernetes cluster is built in and can be enabled with one click.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产