Oxcart 下载
菜单

Mac、Linux 和 Windows 的容器与虚拟化工具(2026)

在 Linux 上,使用 Docker Engine 或 Podman 原生运行容器;在 Windows 上,搭配 WSL 2 使用 Docker Desktop、Podman Desktop 或 Rancher Desktop;在 Apple silicon Mac 上,使用 Oxcart 运行兼容 Docker 的容器以及 Linux、macOS 和 Windows 虚拟机。在其他主机上运行完整操作系统,可在 Windows 上使用 Hyper-V,在 Linux 上使用 KVM;Multipass 则可在三种平台上运行 Ubuntu 虚拟机。

更新于

容器还是虚拟机?

虚拟机模拟整台计算机,启动包含内核、初始化系统、服务和桌面的完整操作系统。在 Mac 上运行 Windows、测试 Linux 桌面或在 CI 中构建 macOS 应用时,都需要它。它占用数 GB 的磁盘空间,启动需要数秒到数分钟。

容器是拥有独立文件系统、网络和资源限制的进程,共享 Linux 内核。容器能在毫秒内启动,由可随代码提交的 Dockerfile 和 Compose 文件定义,也是 Kubernetes、AWS ECS、Azure Container Apps 和 Google Cloud Run 上生产环境的运行方式。开发时通常选择容器;真正需要另一套操作系统时,才使用虚拟机。

关键在于:Linux 容器需要 Linux 内核。Linux 自带内核,Windows 通过 WSL 2 提供内核,Microsoft 将其描述为“在轻量级实用程序虚拟机中运行 Linux 内核”。在 macOS 上,各容器工具都依托 Apple 的虚拟化支持运行自己的 Linux 系统,这也是工具之间差异最大的地方:启动时间、每条命令的延迟、文件共享、网络,以及需要你管理的事项多少。

Linux:原生运行容器

Linux 是容器的原生平台。可以安装 Moby 项目的开源引擎 Docker Engine(Apache-2.0),它为 Ubuntu、Debian、Fedora、RHEL、CentOS 和 Raspberry Pi OS 提供软件包;也可以安装 Podman,这是一款“无守护进程、开源、原生 Linux 工具”,容器可由 root 或非特权用户运行。在 Linux 上,两者都无需虚拟机。

Linux 也有桌面应用:Docker Desktop、Podman Desktop 和 Rancher Desktop 均提供 Linux 版本。注意,Docker Desktop for Linux“运行一个虚拟机”,需要 KVM,而 Docker Engine 直接在主机上运行。

Windows:WSL 2 搭配桌面应用

在 Windows 上,Linux 容器运行于 WSL 2。Docker Desktop 默认使用 WSL 2,也可选择 Hyper-V,支持 Windows 10 22H2 或 Windows 11 23H2 及更高版本(Enterprise、Pro 或 Education)。Podman Desktop 默认在 WSL 上运行 Podman machine,也可使用 Hyper-V。Rancher Desktop 同样支持 Windows,并内置 k3s Kubernetes。

Mac:选择最多,差异也最大

在 Mac 上,你可以选择原生应用、跨平台桌面应用或命令行运行时。对于 Apple 芯片上的 Docker 兼容容器,我们推荐 Oxcart;在测试的三款运行时中,它的容器生命周期操作速度最快。

macOS 容器工具,截至 2026 年 10 月
工具还支持的平台Kubernetes价格
OxcartWindows 11 (x64)未内置免费试用 60 天,之后每人 $20,包含所有更新
Docker DesktopWindows, Linux内置(kubeadm 或 kind)小型企业和个人使用免费;付费套餐每位用户每月 $9 起
OrbStack仅 macOS(14 或更高版本)内置,单节点个人使用免费;商业使用每位用户每月 $8
ColimaLinuxcolima start --kubernetes免费(MIT)
Podman DesktopWindows, Linuxkind, Lima, Minikube, OpenShift免费(Apache-2.0)
Rancher DesktopWindows, Linux内置 k3s免费(Apache-2.0)
Apple container仅 macOS(26,Apple 芯片)—免费(Apache-2.0)

Docker Desktop 对个人使用、教育、非商业开源项目以及员工少于 250 人且营收低于 1,000 万美元的公司免费;按年计费时,每位用户每月的费用分别为 Pro $9、Team $15、Business $24。Apple 的 container“将每个 Linux 容器运行在各自的轻量级虚拟机中”。

为何在 Mac 上选择 Oxcart

  • 在测试的三款工具中,容器生命周期操作最快:docker run --rm 用时 42 ms(速度为次快工具的 3.4×),创建并启动 20 个容器用时 0.69 s,停止并移除用时 77 ms(8.9×)。详见比较页面。
  • 随附 Docker 工具:docker 29.9、Compose 5.6 和 Buildx 0.38,配备 Docker 兼容引擎(API 1.40 至 1.54),通过 Rosetta 运行 amd64 镜像。
  • 为编程智能体而建:用于容器和虚拟机的本地 MCP 服务器。运行命令、移动文件、操作虚拟机屏幕。
  • 安全防护:Mac 与引擎之间已发布端口及出站 TCP 的通信可选用 TLS 1.3;离线设置;应用经过签名和 Apple 公证,更新采用 EdDSA 签名。
  • 一次付费:每人 $20,包含所有更新,无需订阅;免费试用 60 天。

Oxcart 0.1.2 于 2026-10-10 使用随附的 docker 29.9 客户端测量;OrbStack 2.2.3 和 Docker Desktop 4.94.0 于同日较早时间,使用同一台 Mac 和同一套测试工具、搭配 docker 29.4 测量。

Mac 上的完整虚拟机

在 Apple silicon 上,Oxcart 可在容器旁运行 Linux、macOS 和 Windows 虚拟机。创建快照、克隆环境,让编程智能体通过 MCP 在虚拟机内工作。

macOS 虚拟机工具,截至 2026 年 10 月
工具适合用途许可证与价格
Oxcart在 Apple silicon 上运行 Linux、macOS 和 Windows 虚拟机,与 Docker 容器一同使用;提供快照、克隆和智能体工具每位用户一次支付 $20。终身包含每次更新。免费试用 60 天。
UTM通用虚拟机;QEMU 模拟,加上 Apple Virtualization,可在 Apple 芯片上运行 macOS 和 Linux 客户系统免费开源(Apache-2.0)
VMware Fusion桌面虚拟机自 2024 年 11 月 11 日起,商业、教育和个人使用均免费
Tart用于 CI 和自动化的 Apple 芯片 macOS 与 Linux 虚拟机Fair Source;每个组织最多 100 个 CPU 核心免费
Multipass按需启动 Ubuntu 虚拟机;也支持 Windows 和 Linux开源(GPL-3.0)

用同一个应用处理日常容器工作,并运行完整操作系统。Oxcart 将两者整合到 Mac 上的同一个工作空间。

同一团队,三种操作系统

使用不同系统的团队不必人人使用同一款应用。真正需要一致的是接口约定,而这些约定是可移植的:

  • 镜像遵循 OCI 格式,在各种引擎上的运行方式一致。在 Apple 芯片上,如果部署目标是 x86 服务器或 Cloud Run 等要求 x86 的服务,请明确构建 linux/amd64 镜像(指南)。
  • Compose 文件定义服务栈。避免使用主机专属路径,搭配 depends_on 使用健康检查,同一份文件就能在 Linux、Windows 和 Mac 上启动服务栈(Apple 芯片上的 Compose)。
  • Dev Containers 将工具链固定在容器内,让外部使用的编辑器和操作系统不再造成差异(指南)。
  • 每人选择适合自己操作系统的最快本地工具:Linux 上使用 Docker Engine 或 Podman,Windows 上使用 WSL 2 搭配桌面应用或 Oxcart,Mac 上使用 Oxcart。

常见问题

Mac、Linux 和 Windows 适合使用哪些虚拟化平台?

取决于你需要容器还是完整操作系统。对于容器:在 Linux 上使用 Docker Engine 或 Podman 原生运行;在 Windows 上搭配 WSL 2 使用 Docker Desktop、Podman Desktop 或 Rancher Desktop;在 Apple silicon Mac 上使用 Oxcart 运行兼容 Docker 的容器以及 Linux、macOS 和 Windows 虚拟机。对于其他主机上的完整虚拟机:在 Linux 上使用基于 KVM 的工具,在 Windows 上使用 Hyper-V。Multipass 可在三种平台上提供 Ubuntu 虚拟机。

Linux 容器能在 macOS 或 Windows 上原生运行吗?

不能。Linux 容器需要 Linux 内核。在 Linux 上,容器直接运行于主机;在 Windows 上,WSL 2 在轻量级实用程序虚拟机中运行 Linux 内核;在 macOS 上,各容器工具都依托 Apple 的虚拟化支持运行 Linux 系统,差别在于速度、集成程度和安全性。

Docker Desktop 免费吗?

个人使用、教育、非商业开源项目以及员工少于 250 人且年营收低于 1,000 万美元的公司(两项条件须同时满足)可免费使用。大型公司和政府机构需要付费订阅:截至 2026 年 10 月,按年计费时,每位用户每月 Pro 为 $9、Team 为 $15、Business 为 $24。Linux 上的 Docker Engine 开源且免费。

哪些容器工具支持三种操作系统?

Docker Desktop、Podman Desktop 和 Rancher Desktop 都支持 macOS、Windows 和 Linux。不过,并不需要所有平台都用同一款应用:镜像和 Compose 文件可移植,所以每个人都可以使用最适合自己操作系统的工具。

在 Mac 上运行 Docker 的最佳方式是什么?

对于配备 Apple silicon 且运行 macOS 26 或更高版本的 Mac,选择 Oxcart:执行 docker run --rm 耗时 42 ms,在我们测试的三个运行时中最快,内置 docker CLI、Compose 和 Buildx,一次付费 $20,无需订阅。完整对比见 Mac 上的 Docker Desktop 替代方案。

开发应使用虚拟机还是容器?

服务、依赖、构建和测试使用容器:它们可在毫秒内启动,并由可提交的文件定义。需要完整操作系统时再使用虚拟机,例如 Linux 桌面发行版、Mac 上的 Windows、用于 CI 的 macOS 客户系统或内核级工作。

Oxcart 支持 Linux 或 Windows 吗?

支持 Windows:Oxcart 可在配备 x64 处理器的 Windows 11 PC 上通过 Microsoft 的 WSL Containers 运行,也支持配备 Apple silicon 且运行 macOS 26 或更高版本的 Mac。不支持 Linux。

来源与方法

  • Oxcart 速度:Oxcart 0.1.2,2026-10-10,Apple M5 Max(36 GiB),macOS 27.2,8 个 CPU 和 12 GiB,每次仅运行一款产品,预热后采样五次取中位数。
  • Docker Desktop: https://docs.docker.com/desktop/setup/install/mac-install/, https://docs.docker.com/desktop/setup/install/windows-install/, https://docs.docker.com/desktop/setup/install/linux/, https://docs.docker.com/desktop/features/kubernetes/, https://www.docker.com/pricing/, https://www.docker.com/pricing/faq/.
  • Docker Engine: https://docs.docker.com/engine/install/。Podman: https://docs.podman.io/en/latest/ 和 https://docs.podman.io/en/latest/markdown/podman-machine.1.html。WSL 2: https://learn.microsoft.com/en-us/windows/wsl/about。
  • OrbStack: https://orbstack.dev/download, https://orbstack.dev/pricing, https://docs.orbstack.dev/kubernetes/. Colima: https://github.com/abiosoft/colima. Podman Desktop: https://podman-desktop.io/docs/intro. Rancher Desktop: https://docs.rancherdesktop.io/.
  • Apple container: https://github.com/apple/container 和 https://github.com/apple/containerization。
  • UTM:https://mac.getutm.app/。VMware Fusion:https://blogs.vmware.com/cloud-foundation/2024/11/11/vmware-fusion-and-workstation-are-now-free-for-all-users/。Tart:https://tart.run/licensing/。Multipass:https://canonical.com/multipass。均于 2026-10-10 核查。

在你自己的项目中试用 Oxcart

免费试用 60 天。之后购买一个许可证,终身包含所有更新,无需订阅。

配备 Apple silicon 的 Mac · Windows 11 (x64)

继续阅读

版本更新说明

Oxcart 26.11.6

最新版本

Containers see the changes you make to files on your Mac as they happen.

  • Edit a file in a shared folder on your Mac, and tools that watch it in a container, such as Vite, webpack and nodemon, reload right away. Polling is not needed.
  • When no containers are running and you haven't used Docker for two minutes, Oxcart gives the memory it was using back to macOS. The next docker command starts it again in under a second. This doesn't happen while Kubernetes is turned on.
  • You can bring your images, volumes and networks over from another Docker app. Choose Import from Another Runtime… in the More (…) menu on the Containers page, or run oxcart import. Containers themselves aren't copied: start them again with docker compose up -d or docker run, and they use the imported volumes and networks.
  • Bug fixes and optimizations.
  • Updated Linux and system components, with the latest security fixes. A Windows virtual machine that is suspended when you update starts fresh afterwards.

需要 macOS 26.0 或更高版本

Oxcart 26.11.5

You can now turn on GPU acceleration for a Windows 11 virtual machine you already have.

  • Open the virtual machine's settings and turn on GPU acceleration under Display. Oxcart restarts Windows once, and the Windows desktop and Direct3D 10 and 11 apps then render on your Mac's GPU.
  • Turning GPU acceleration off puts back the standard display driver, and suspending works again.

需要 macOS 26.0 或更高版本

Oxcart 26.11.4

Bug fixes and optimizations.

  • Virtual machines start again after updating Oxcart while it is open.

需要 macOS 26.0 或更高版本

Oxcart 26.11.3

Windows virtual machines can now use your Mac's GPU.

  • Turn on GPU acceleration when you create a Windows 11 virtual machine, on the first step of New Virtual Machine. The Windows desktop and Direct3D 10 and 11 apps then render on your Mac's GPU instead of its processor.
  • A virtual machine with GPU acceleration can't be suspended or snapshotted while it runs. Shut it down instead. Existing virtual machines are not changed.
  • GPU acceleration is new. After a lot of opening and closing windows, the Windows screen can go black for about a second while Oxcart frees graphics memory.
  • Updated Linux and system components, with the latest security fixes.

需要 macOS 26.0 或更高版本

Oxcart 26.11.2

Oxcart can now run Kubernetes for you.

  • Turn on Kubernetes in Settings › Resources to get a local single-node cluster that kubectl can use right away.
  • Services in the cluster are reachable from your Mac at 127.0.0.1, and images you build with Docker run in the cluster without pushing them to a registry.
  • Updated Linux and system components, with the latest security fixes.

需要 macOS 26.0 或更高版本

Oxcart 26.11.1

Bug fixes and optimizations.

  • A simpler toolbar in the VM window.
  • Updated Linux and system components, with the latest security fixes.

需要 macOS 26.0 或更高版本

Oxcart 26.11.0

Clearer Windows audio, a network that comes back, and a VM toolbar that stays out of your way.

  • Clear Windows audio. Choppy, garbled sound in Windows VMs is fixed.
  • Networking that recovers. Turn a Windows VM's network off and on again, and it reconnects without a restart.
  • A toolbar that stays out of the way. It no longer covers the top of your VM. Move the pointer to the top center and click the small tab when you want it.
  • Simpler Oxcart Tools for Windows. One CD now holds everything, and the installer handles the drivers and any restart for you.
  • A more dependable clipboard in Windows VMs.
  • A license agreement to accept the first time you open Oxcart on your Mac.
  • Updated Linux, container and Docker components, with the latest security fixes.

需要 macOS 26.0 或更高版本

Oxcart 26.10.0

Virtual machines are here. Windows 11, Linux and macOS run on your Mac, built into Oxcart beside your containers and covered by the license you already have.

  • Windows 11 in about 5 minutes, hands off. Choose your Windows 11 ARM installer and walk away: Oxcart installs Windows, its drivers and Oxcart Tools by itself, on a VM with real TPM 2.0 and Secure Boot. You bring the installer and the license.
  • Linux in under a minute. Ubuntu, Debian and Fedora start with your Mac username, your SSH key and passwordless sudo already set up; Fedora is ready in about 30 seconds. Every further VM from the same image starts from an instant copy that takes only the space it changes. Ubuntu Desktop, Fedora Workstation and any arm64 Linux installer work too.
  • macOS on macOS. Oxcart restores the newest macOS your Mac supports and, with Automatic setup, creates your account and installs Oxcart Tools.
  • Every VM is a real Mac app. Each one has its own window, Dock icon and ⌘-Tab entry, and keeps running after you quit Oxcart. The Retina display follows the window as you resize it or go full screen, ⌘C and ⌘V work in Linux and Windows, and text, images and files move between your Mac and the guest by copy, paste and drag.
  • Snapshots that capture the moment. Snapshot a running VM with its open apps and return to that exact moment later. Snapshots and clones take almost no space until the guest changes, and a restore lands whole even if your Mac loses power halfway.
  • Your Mac's folders, network and USB. Share Mac folders with any guest, reach your Mac by name and publish ports from the VM. Hand a USB device to Windows for flashers, programmers and dongles; development boards' serial ports show up in Windows under their own IDs.
  • First-class for coding agents. VMs join containers in Oxcart's MCP server with 22 tools of their own, so an agent you connect can create, start, snapshot and clone VMs, run commands and copy files in the guest, forward ports, connect USB devices and disk images, and read the screen and type in any guest, even one without Oxcart Tools, all within the permission level you set for each agent. The oxcart vm command covers every operation, with JSON output for scripts and CI.
  • Encrypted VMs, when you want them. Keep a VM's disks and secrets behind a password of your own, with AES-256 encryption built into Oxcart, so an encrypted disk flushes as fast as a plain one.
  • Disk space you can see. Choose where a VM lives, on your Mac or an external drive, and see what it takes now and what it can grow to against the space you have. Reclaim Space hands back what a guest frees right away, and Disk Usage shows each downloaded system so you can remove the ones you no longer need.
  • VMs that move with you. Each VM is a single item in Finder you can keep on any drive. Export it as one .oxvm file to another Mac, and bring over Linux and macOS VMs from another Mac virtualization app.
  • Ready when you are. Chosen VMs start when you log in, run headless with no window at all, and suspend when you close them, so you pick up exactly where you left off.
  • Oxcart Help. Help › Oxcart Help (⌘?) explains every setting, what it does and what changing it affects, with a ? beside each one. Coding agents read the same help through MCP.
  • More reliable published ports. A container connection that a service closes mid-transfer now ends cleanly instead of waiting.
  • New version numbers. Releases are now numbered by year and month, so this one is 26.10.0.

需要 macOS 26.0 或更高版本

Oxcart 0.1.8

Oxcart 现已支持 Windows,购买后可终身享有所有更新。

  • Oxcart 也能在 Windows 上运行。一份许可证最多可用于 5 台设备,Mac 与 Windows 可任意组合。
  • 终身包含每次更新。
  • 截至 2026 年 12 月 31 日,Oxcart 售价为 $5。
  • 编程智能体可以检查容器、读取实时统计数据和资源压力、跟踪日志、追踪耗时较长的镜像拉取和构建,并按你设置的限制运行容器。
  • 重新创建容器时会保留其卷和网络别名。
  • Oxcart 的辅助程序在“登录项”中显示为 Oxcart。
  • 全面提升可靠性。

需要 macOS 26.0 或更高版本

Oxcart 0.1.7

更快的共享文件夹、更快的网络,以及可编辑的容器环境。

  • 共享文件夹大幅提速。在共享文件夹中克隆仓库、安装软件包和构建,速度最高可达原来的 3×。
  • 网络更快。发布端口和容器连接可传输近两倍的数据,同时减少 CPU 占用。
  • 按需启用加密。Mac 与容器之间的流量加密是可选的:可在 Settings › Resources › Encrypt container connections 中开启。
  • 环境变量更易查看和修改。在容器的 Overview 中查看变量,通过 Edit and Recreate 修改变量,还能一次粘贴整个 .env 文件。
  • Run Container 面板操作更顺畅。按 Return 会移至下一行,不会启动容器。
  • 故障排查更清晰。当 VPN 或防火墙拖慢连接时,Oxcart 会告知你。
  • 共享文件夹更可靠,能正确报告权限错误,并在 Mac 上的文件发生变更后及时更新内容。

需要 macOS 26.0 或更高版本

Oxcart 0.1.6

编程智能体可以修复所发现的问题,另有全面的问题修复与安全加固。

  • 新添加的智能体可以使用 Mac 上已有的镜像来启动、停止和重启容器,在容器内运行命令,以及启动 Compose 项目。拉取、构建和删除需要 Full 权限,可在 MCP Integrations 中为每个智能体分别设置。
  • 设置时会为每个智能体提供可直接使用的配置条目,运行 oxcart mcp check 可确认其是否正常工作。
  • 回答更准确:智能体能识别服务是否因其依赖的服务停机而停机、网页是否确实能加载,以及故障的原因和修复方法。
  • Start at login 会在登录时将 Oxcart 启动到菜单栏,随时可用。
  • Oxcart 启动时会检查更新,并向 oxcart.cc 发送一条简短的联络请求。Settings › Privacy 中会完整显示其中包含的内容。
  • 容器从启动之初就能发现所在网络中的其他服务。
  • 修复了特权容器、Rosetta 检查和设置过程中的安全防护问题。
  • Oxcart 应用会在执行任何删除数据或停止正在运行的任务的操作前征求确认。
  • 全面加强安全防护并提升可靠性。

需要 macOS 26.0 或更高版本

Oxcart 0.1.5

Oxcart 支持运行本地 Kubernetes 和特权容器,并提供十种语言。

  • 在 Settings › Resources › Kubernetes and networking 中开启特权容器,即可运行 kind、k3d、minikube(Docker 驱动)和 Docker-in-Docker,并使用 docker run --privileged 和 --device。此功能默认关闭。Oxcart 的防护机制会阻止每个容器访问 Oxcart 的磁盘、内核、其他容器的数据,以及 Oxcart 与 Mac 之间的通信通道。
  • 支持 IPv6 容器网络,此功能也默认关闭,适用于使用 IPv6 创建的网络,例如 kind 的双栈网络。
  • Oxcart 已翻译为简体中文、日语、德语、法语、西班牙语、巴西葡萄牙语、韩语、俄语和土耳其语。Settings › General › Language 中的语言设置仅对 Oxcart 生效。

需要 macOS 26.0 或更高版本

Oxcart 0.1.4

许可证功能与细节改进。

  • 通过安全邮件链接激活许可证。
  • 在 Settings 中管理许可证和 Mac。
  • 离线验证许可证。
  • 性能提升、界面优化与问题修复。

需要 macOS 26.0 或更高版本

Oxcart 0.1.3

空闲时回收内存。

  • 没有容器运行时回收 VM 内存。
  • 保留容器、镜像、卷和网络。

需要 macOS 26.0 或更高版本

Oxcart 0.1.2

命令行工具集成。

  • 在 Oxcart 自带的 Docker 工具与已安装的 Docker 工具之间切换。
  • 界面优化。

需要 macOS 26.0 或更高版本

Oxcart 0.1.1

内置 Docker 工具与智能体控制。

  • 自带 Docker CLI 29.9、Compose 5.6 和 Buildx 0.38。
  • Docker 上下文集成与安全的钥匙串凭据存储。
  • MCP 智能体连接,支持为各智能体设置权限或阻止访问。

需要 macOS 26.0 或更高版本

Oxcart 0.1.0

适用于 Apple 芯片的 Docker 兼容容器。

  • 兼容 Docker CLI、Compose 和 Buildx。
  • 自带运行时组件,可离线设置。
  • 按项目和 Git 分支整理端口。
  • MCP 集成,默认仅允许只读访问。
  • 经过验证的自动更新。

需要 macOS 26.0 或更高版本