Oxcart 下载
菜单

Oxcart 与 Apple container:熟悉的 docker CLI,还是 Apple 的新工具

如果工作依赖 docker CLI、Compose 文件、Testcontainers 或 Dev Containers,选择 Oxcart:它是带有 Docker 兼容引擎的原生 Mac 应用,执行 docker run 用时 42 ms。如果想使用 Apple 自家的工具,并愿意使用其专有命令,可选择 Apple 的开源 container CLI。

更新于

两款工具分别是什么

Apple 的 container 是随 macOS 26 一同发布的开源 Swift 工具,用于“在 Mac 上通过轻量虚拟机创建和运行 Linux 容器”。它基于 Apple 的 Containerization 包,该包“在每个 Linux 容器各自的轻量虚拟机中运行它”。它可以使用并生成 OCI 兼容镜像。1.5.0 版本于 2026 年 9 月 29 日发布。

Oxcart 是拥有自有 Docker 兼容引擎的原生 Mac 应用。它随附 docker CLI 29.9.0、Docker Compose 5.6.0 和 Buildx 0.38.0,几秒即可离线完成设置,引擎在后台默默工作。你现有的 Docker 脚本、CLI、Engine API 和 Compose 文件,都可通过 oxcart Docker 上下文指向 Oxcart。

Oxcart 与 Apple container,截至 2026 年 10 月
功能OxcartApple container
系统要求Apple silicon,macOS 26 或更新版本Apple silicon、macOS 26(“不支持更早的 macOS 版本”)
界面原生 Mac 应用、菜单栏,加上 docker CLIcontainer 命令行工具
命令docker run, docker compose up, docker buildx buildcontainer run, container system start
Docker Engine API支持:1.40 至 1.54(Testcontainers、docker-py)README 未提及
Docker Compose支持,内置 5.6.0,支持健康检查依赖和 up --waitREADME 未提及
镜像标准镜像;通过 Rosetta 运行 amd64 镜像OCI 兼容镜像
隔离模型容器共享精简且版本固定的 Linux 系统中的一个内核;默认 seccomp 策略每个容器拥有独立的轻量虚拟机
编程智能体Local MCP server, 13 tools, no pulls, builds or deletions by default; Read only per agentREADME 未提及
许可证与价格专有软件;免费试用 60 天,之后每人 $20,包含所有更新Apache-2.0,免费

Apple 资料来自 github.com/apple/container 和 github.com/apple/containerization,核实于 2026 年 10 月 10 日。“未提及”仅表示 README 没有说明,并不代表该功能不可能存在。

现有工具已经使用 Docker,就选 Oxcart

多数项目已积累多年 Docker 使用内容:compose.yaml、包含大量 docker 命令的 Makefile、CI 脚本、测试套件中的 Testcontainers,以及 .devcontainer 文件夹。Oxcart 无需修改即可运行这些内容。已验证的集成包括 docker CLI、支持健康检查依赖、init: true 和 network_mode: service: 的 Compose、Buildx、docker-py 和 Testcontainers 使用的 Engine API 构建端点,以及 Dev Containers CLI 0.89.0。你可以将 Docker 套接字挂载到容器内,供 Testcontainers、Portainer 或 Traefik 使用。

每天反复执行的操作也很快。在一台 Apple M5 Max 上,Oxcart 0.1.2 的实测结果如下:

Oxcart 0.1.2,中位数,8 个 CPU 和 12 GiB
操作Oxcart所测其他产品中的最快者
docker run --rm … true42 ms143 ms (3.4×)
并发执行 8 次 docker run --rm96 ms378 ms (3.9×)
docker stop19 ms107 ms (5.6×)
停止并删除 20 个容器77 ms683 ms (8.9×)
使用缓存构建121 ms149 ms (1.2×)

Oxcart 0.1.2 于 2026-10-10 使用随附的 docker 29.9 客户端测量;OrbStack 2.2.3 和 Docker Desktop 4.94.0 于同日稍早在同一台 Mac、同一测试框架上使用 docker 29.4 测量。本次基准测试未包含 Apple container。完整表格:所有对比。

想用 Apple 自家的工具,就选 Apple container

如果你想要 Apple 提供的免费开源工具,愿意学习 container 命令,并看重每个容器配备独立轻量虚拟机的隔离模型,Apple container 很合适。它还很年轻(1.5.0)且发展迅速,请查阅其 README,确认项目所需功能。

同时使用两者

两者可共存于同一台 Mac。共同点是镜像:都支持 OCI 镜像,因此可在 Oxcart 中用 Buildx 构建、推送到自己的镜像仓库,再用 Apple 工具拉取,反向也可以。Oxcart 只操作自己的 oxcart Docker 上下文,未经询问绝不会替换其他应用的命令行工具。

不止运行容器

  • For coding agents: Oxcart’s MCP server lets Claude Code, Codex, Cursor and other agents see, diagnose and manage containers, with no pulls, builds or deletions by default, and Read only for any agent you choose. Its crash diagnosis is 159 tokens against 2,014 for docker inspect plus docker logs. See Docker for AI coding agents.
  • 网络方面:可选的 TLS 1.3 可加密 Mac 与 Oxcart 引擎之间已发布端口及出站 TCP 的通信;出站连接由 Mac 发起,因此会遵循你的 VPN 和防火墙规则。参见Mac 上的容器网络。
  • 窗口内:Compose 项目按组显示健康状态,端口按仓库和分支分组,检查器中包含日志、统计数据、终端和文件。

常见问题

Apple 的 container 工具是什么?

Apple 提供的开源命令行工具,用于“在 Mac 上通过轻量虚拟机创建和运行 Linux 容器”。它用 Swift 编写,支持 OCI 兼容镜像,在搭载 Apple silicon 的 macOS 26 上运行,使用 Apache-2.0 许可证。配套的 Swift 包 Containerization 会在各自独立的轻量虚拟机内运行每个 Linux 容器。

能用 docker 和 docker compose 操作 Apple container 吗?

Apple 的 README(2026 年 10 月核实)说明了其专用 container 命令,例如 container run --rm alpine echo hello,未提及 docker CLI、Docker Engine API 或 Compose。如果工作流基于这些工具,Oxcart 可原样运行:随附 docker 29.9、Compose 5.6 和 Buildx 0.38,引擎支持 Docker API 1.40 至 1.54。

Oxcart 和 Apple container 都需要 macOS 26 吗?

是的。两者都需要搭载 Apple silicon 且运行 macOS 26 或更新版本的 Mac,均不支持 Intel Mac 或较早的 macOS 版本。

Apple container 比 Oxcart 更快吗?

我们尚未对 Apple container 进行基准测试。Apple 的 Containerization README 声称“亚秒级启动”,但没有公布测量数据。Oxcart 在 Apple M5 Max 上执行 docker run --rm 实测 42 ms,是我们测试的三款 Docker 兼容运行时中最快的。

哪款是免费的?

Apple 的 container 免费开源(Apache-2.0)。Oxcart 免费试用 60 天,之后每人一次付费 $20,包含所有更新。

一款工具构建的镜像可以在另一款中继续使用吗?

可以。Apple container 可使用并生成 OCI 兼容镜像,Oxcart 可拉取、构建、保存和加载标准镜像。从一款工具推送到镜像仓库,再用另一款拉取即可。

来源与方法

  • Apple container:https://github.com/apple/container(说明、要求、命令、许可证、2026-09-29 发布的 1.5.0);Containerization:https://github.com/apple/containerization。核实于 2026-10-10。
  • Oxcart 基准测试:Apple M5 Max、36 GiB、macOS 27.2;每款产品分配 8 个 CPU 和 12 GiB,每次运行一款,均重新启动;预热后取五个样本的中位数。
  • Oxcart 兼容性:2026-10-10 在 Oxcart 上测试。

在你自己的项目中试用 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 或更高版本