Oxcart 下载
菜单

从 Docker Desktop 或 OrbStack 切换到 Oxcart

切换到 Oxcart 只需几分钟:安装后运行 docker context use oxcart,再用 docker save、docker load 和 tar 文件迁移要保留的镜像与卷。Oxcart 可与 Docker Desktop 或 OrbStack 并存,替换它们的 docker 工具前会征求确认,一条命令即可切回。

更新于

开始之前

  • 一台运行 macOS 26 或更高版本的 Apple 芯片 Mac。
  • 保持其他应用运行,以便复制镜像和卷时,其上下文能够响应。
  • 列出真正需要的内容:无法重新拉取的镜像,以及存有数据(数据库、上传文件)的命名卷。其他内容重新创建更快。
  • 先选择一个有代表性的 Compose 项目试迁移。确认服务能启动、数据存在、已发布端口能响应,再迁移其余项目。

逐步迁移到 Oxcart

  1. 安装 Oxcart。 下载 Oxcart(Apple 芯片,macOS 26 或更高版本)并打开。设置可离线完成,只需几秒;用于链接命令行工具的辅助程序需要输入一次管理员密码。
  2. 决定如何处理 docker 工具。 如果 Docker Desktop 或 OrbStack 已安装 docker,Oxcart 会列出每个工具的两个版本,替换前征求确认。Replace 默认开启;Uninstall 会恢复其他应用的工具。
  3. 选择 oxcart 上下文。 设置会创建 oxcart Docker 上下文。仅当当前上下文为 default 且无响应时,才将它设为当前上下文。因此,从其他应用迁移时,通常需自行运行 docker context use oxcart。
  4. 迁移所需镜像。 重新拉取,或将其他应用的 docker save 输出流式传入 docker load,以保留标签和摘要。
  5. 迁移存有数据的卷。 在其他应用中通过小型容器将每个命名卷打包成 tar 文件,再解包到 Oxcart 的新卷中。
  6. 启动 Compose 项目。 在每个项目文件夹中运行 docker compose up -d --wait。以相同名称迁移的卷会被自动使用。
  7. 将固定连接地址的工具指向 Oxcart。 遵循 Docker 上下文的工具会自动找到 Oxcart。仅读取 DOCKER_HOST 的工具,需要将该变量设为 oxcart 上下文的端点。

命令

查看上下文并切换

docker context ls

列表会显示 oxcart 和其他应用的上下文,当前上下文旁有星号。接着:

docker context use oxcart

从其他应用复制镜像

无需中间文件,将镜像从一个引擎直接流式传输到另一个引擎。标签和摘要会一并保留。

# OTHER is the other app's context name from `docker context ls`
OTHER=<other-context>
docker --context "$OTHER" save postgres:17-alpine myapp:dev | docker --context oxcart load

一次迁移所有带标签的镜像:

docker --context "$OTHER" images --format '{{.Repository}}:{{.Tag}}' | grep -v '<none>' \
  | xargs docker --context "$OTHER" save | docker --context oxcart load

由 Dockerfile 构建的镜像,通常在 Oxcart 中用 docker build 或 docker compose build 重新构建更快;我们的基准测试中,利用缓存重新构建仅需 121 ms。

迁移命名卷

此示例迁移名为 pgdata 的 Postgres 卷。它将 tar 文件写入用户主文件夹下的一个文件夹:Oxcart 默认将主文件夹共享给容器,其他应用也需能对其进行绑定挂载。先停止使用该卷的容器,以确保复制的数据一致。

mkdir -p ~/volume-move && cd ~/volume-move
# 1. Pack the volume in the other app
docker --context "$OTHER" run --rm -v pgdata:/from -v "$PWD":/backup alpine \
  tar -C /from -czf /backup/pgdata.tgz .
# 2. Unpack it into a new volume in Oxcart
docker --context oxcart volume create pgdata
docker --context oxcart run --rm -v pgdata:/to -v "$PWD":/backup alpine \
  tar -C /to -xzf /backup/pgdata.tgz

Compose 的卷名称格式为 <project>_<volume>。在 Oxcart 中用相同的完整名称创建卷(可在其他上下文运行 docker volume ls 查看),Compose 就会使用它。

启动 Compose 项目

cd ~/code/myproject
docker compose up -d --wait

健康检查依赖、up --wait、服务名 DNS、init: true 和 network_mode: service: 均可照常使用。参见 Apple 芯片上的 Docker Compose。

读取 DOCKER_HOST 的工具

Oxcart 从不创建或替换 /var/run/docker.sock;docker CLI、Compose、Buildx 和大多数 SDK 都遵循当前上下文。如果工具仅读取 DOCKER_HOST,请将其指向 Oxcart:

export DOCKER_HOST="$(docker context inspect oxcart --format '{{.Endpoints.docker.Host}}')"

在容器内,Testcontainers、docker-outside-of-docker、Portainer 和 Traefik 可照常挂载 /var/run/docker.sock。参见 Mac 上的 Dev Containers 和 Testcontainers。

切回原工具

docker context use <other-context>   # back to the other app
docker context use oxcart            # and to Oxcart again

切换后会有哪些变化

在同一台 Apple 芯片 Mac 上测量;中位数,越低越好
操作Oxcart 0.1.2OrbStack 2.2.3Docker Desktop 4.94.0
docker run --rm … true42.3 ms220 ms143 ms
docker stop19.2 ms107 ms128 ms
停止并删除 20 个容器76.7 ms1,224 ms683 ms
使用缓存构建121 ms283 ms149 ms

Oxcart 0.1.2 于 2026-10-10 使用随附的 docker 29.9 客户端测量;OrbStack 2.2.3 和 Docker Desktop 4.94.0 于同日较早时间,使用同一台 Mac、同一套测试工具和 docker 29.4 测量。完整表格:与 Docker Desktop 对比及与 OrbStack 对比。

此外,还有面向编程智能体的本地 MCP 服务器(粘贴一次即可设置)、按仓库和分支分组的端口,以及遵循 VPN、DNS 和防火墙规则的容器流量(网络指南)。

常见问题

需要先卸载 Docker Desktop 或 OrbStack 吗?

不需要。Oxcart 可与它们并存,并使用自己的 oxcart Docker 上下文。用 docker context use 切换即可。在迁移完所需内容之前,请保留其他应用。

Oxcart 会改变当前 Docker 上下文吗?

仅当当前上下文是 default 且无响应时才会更改。如果当前使用其他应用的上下文,Oxcart 会保持原样,由你通过 docker context use oxcart 选择。

镜像和卷会自动迁移吗?

不会。各应用分别保存自己的镜像和卷。重新拉取镜像,或通过 docker save | docker load 流式传输;存有数据的命名卷则按上文所示用 tar 文件迁移。存有缓存或其他临时数据的卷可直接重新创建。

镜像仓库登录信息如何处理?

如果拉取时要求凭据,运行一次 docker login。Oxcart 通过 docker-credential-osxkeychain 将密码存储在 macOS 钥匙串中;config.json 仅保存仓库名称。

可以保留现有开发工作流吗?

可以。继续使用 docker CLI、Compose、Buildx、Dev Containers 和 Testcontainers。Oxcart 支持特权容器,包括 Compose 中的 privileged: true。先迁移一个项目,检查其端口和数据,再在准备好后切换其余项目。整个过程中,其他 Docker 上下文始终可用。

更新会保留容器吗?

会。Oxcart 更新会保留所有容器、镜像、卷和网络。

如何切回?

使用其他应用的上下文名称运行 docker context use。如果卸载 Oxcart,Uninstall 会恢复它曾替换的所有 docker 工具。

来源与方法

  • 设置、命令行工具和 Docker 上下文:以发布的 Oxcart 0.1.3 为准。
  • 兼容性:2026-10-10 在 Oxcart 上测试(保留标签与摘要的保存和加载、Compose、容器内 Docker 套接字)。
  • 基准测试:Oxcart 0.1.2、OrbStack 2.2.3 和 Docker Desktop 4.94.0,于 2026-10-10 在同一台 Apple M5 Max 上测量,各配置 8 个 CPU 和 12 GB,每次仅运行一款产品,五次采样的中位数。
  • 其他应用的上下文名称因应用和版本而异:请通过 docker context ls 查看。

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