Meet container: Apple’s Open-Source Swift Tool for Running Linux Containers as Lightweight VMs on Apple Silicon
重點摘要
Apple research team recently released the container project. It is an open-source command-line tool written in Swift. It creates and runs Linux containers as lightweight virtual machines on a Mac. The project ships under the Apache 2.0 license and targets Apple silicon. Containers are how you ship reproducible environments from a laptop to a datacenter. Apple now offers a native path that avoids a single always-on Linux VM. What is Apple’s container ? container is a CLI tool that can be used to build images, run containers, and move images to and from registries. It consumes and produces OCI-compatible container images. So you can pull from Docker Hub or GitHub Container Registry and run those images. You can also push images you build to any standard registry. container uses the open-sour
Apple research team recently released the container project. It is an open-source command-line tool written in Swift. It creates and runs Linux containers as lightweight virtual machines on a Mac. The project ships under the Apache 2.0 license and targets Apple silicon. Containers are how you ship reproducible environments from a laptop to a datacenter. Apple now offers a native path that avoids a single always-on Linux VM. What is Apple’s container ? container is a CLI tool that can be used to build images, run containers, and move images to and from registries. It consumes and produces OCI-compatible container images. So you can pull from Docker Hub or GitHub Container Registry and run those images. You can also push images you build to any standard registry. container uses the open-source Containerization Swift package. That package handles low-level container, image, and process management. The tool requires a Mac with Apple silicon. Intel Macs are not supported. Apple supports container on macOS 26, which adds virtualization and networking enhancements. You can run it on macOS 15, but with networking limitations. How container Runs Your Containers Most macOS container tools run one shared Linux VM that hosts every container. Apple takes a different path. container runs a separate lightweight VM for each container you create. Apple describes three properties of this design: Security: Each container has the isolation of a full VM. A minimal set of core utilities and dynamic libraries reduces resource use and attack surface. Privacy: You mount only the data each VM needs, instead of sharing everything. Performance: These containers use less memory than full VMs. Boot times are comparable to containers in a shared VM. The runtime integrates several macOS frameworks. It uses the Virtualization framework for the VMs, and the vmnet framework for networking. It uses XPC for interprocess communication, launchd for service management, and Keychain services for registry credentials. The control plane has a few moving parts. container system start launches container-apiserver, a launch agent. The apiserver then starts an XPC helper container-core-images for image management and the local content store. It also starts container-network-vmnet for the virtual network. For each container, it launches container-runtime-linux, the per-container management helper. Interactive Explainer (function(){ window.addEventListener("message", function(e){ if(e.data && e.data.mtpContainerDemoHeight){ var f = document.getElementById("mtp-container-frame"); if(f){ f.style.height = e.data.mtpContainerDemoHeight + "px"; } } }); })(); Use Cases With Examples Local backend development. Run a service in its own isolated VM, then forward a port to your loopback address. Copy CodeCopiedUse a different Browsercontainer run -d --rm -p 127.0.0.1:8080:8000 \ node:latest npx http-server -a :: -p 8000 curl http://127.0.0.1:8080 Reproducible CI-style builds. container build starts a builder utility container that uses BuildKit. You can size the builder VM for heavy builds. Copy CodeCopiedUse a different Browsercontainer builder start --cpus 8 --memory 32g container build --tag web-test:latest --file Dockerfile Cross-architecture images for datacenter deployment. Build one image for both Apple silicon and x86-64 servers. The amd64 variant runs under Rosetta translation. Copy CodeCopiedUse a different Browsercontainer build --arch arm64 --arch amd64 \ --tag registry.example.com/fido/web-test:latest Mounting datasets for analysis. Share a host folder into the container with --volume. This is useful for feeding local data into a containerized job. Copy CodeCopiedUse a different Browsercontainer run --volume ${HOME}/Desktop/assets:/content/assets \ docker.io/python:alpine ls -l /content/assets Isolating untrusted or generated code. Each container runs in its own VM, not a shared kernel. That boundary suits running code from an agent or an unknown image with less host exposure. Hands-On: Core Commands Default container resources are 1 GiB of RAM and 4 CPUs. You override them per run. Copy CodeCopiedUse a different Browsercontainer run --rm --cpus 8 --memory 32g big Inspect live resource usage, similar to top for processes. Copy CodeCopiedUse a different Browsercontainer stats --no-stream my-web-server Read virtual machine boot and init logs when debugging startup. Copy CodeCopiedUse a different Browsercontainer logs --boot my-web-server On macOS 26, you can create isolated networks. Containers on different networks cannot reach each other. Copy CodeCopiedUse a different Browsercontainer network create foo --subnet 192.168.100.0/24 container run -d --name web --network foo --rm web-test By default, containers start with a restricted set of Linux capabilities. You tune them explicitly. Copy CodeCopiedUse a different Browsercontainer run --cap-drop ALL --cap-add SETUID --cap-add SETGID alpine id Version 1.0.0 also adds container machines. These are persistent Linux environments built from OCI images. Your home directory is mounted in, and the login user matches your Mac account. The filesystem survives stop and start. Any image containing /sbin/init qualifies as a container machine. Two other 1.0.0 changes affect upgraders. System settings moved to a TOML file at ~/.config/container/config.toml. The container system property get and set subcommands were removed. The tool also added structured JSON, YAML, and TOML output for list and inspect, easing automation. Apple container vs Docker Desktop PropertyApple containerDocker DesktopIsolation modelOne lightweight VM per containerShared Linux VM, shared kernelIdle footprintNear-zero when nothing runsAlways-on background VMImage formatOCI-compatibleOCI-compatibleBuild engineBuildKit via builder VMBuildKitLicenseApache 2.0Commercial terms for larger orgsHardwareApple silicon onlyApple silicon and IntelCompose / GUINot built inYesBest fitSingle-container runs, native isolationCompose workflows, mature ecosystem Strengths and Limitations Strengths: Per-container VM isolation reduces shared attack surface versus a shared kernel. Idle memory cost is low, since stopped containers free their footprint. OCI compatibility means your images run elsewhere without conversion. The Apache 2.0 license carries no feature paywall. Limitations: The macOS Virtualization framework supports only partial memory ballooning. Pages freed inside a container are not always relinquished to the host. Heavy workloads may need occasional restarts to reduce memory use. There is no built-in Docker Compose. macOS 15 users face networking restrictions, and Intel Macs are unsupported. Check out the Repo here. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well. Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us The post Meet container: Apple’s Open-Source Swift Tool for Running Linux Containers as Lightweight VMs on Apple Silicon appeared first on MarkTechPost.
Related
相關文章

TRAE Work Design 初體驗:設計領域的翻譯器
這篇消息聚焦「TRAE Work Design 初體驗:設計領域的翻譯器」。原始導語提到:誰都能用 AI 的時候,關鍵不是看 AI,關鍵是看誰用。 從 AI 情報角度來看,這類內容值得關注其背後的技術進展、產品落地、產業競爭與後續市場影響。
百度千帆Coding Plan停止套餐續費,7月將升級推Token Plan按量計費產品
百度智能雲千帆大模型平臺於2026年6月25日終止“Coding Plan”AI編碼訂閱服務的續費,該產品上線僅四個月。其曾主打多模型驅動,支持一鍵切換GLM-4.7等主流模型,並深度兼容Cursor等編程工具。此次停續標誌著重大戰略轉型。
深度使用Tabbit幾周後,我把默認瀏覽器從Chrome換成了它
Chrome解決的是“怎麼看網頁”的問題,Tabbit解決的是“怎麼用網頁完成任務”的問題。瀏覽器不再只是渲染網頁的工具,它開始理解你在看什麼,並試圖幫你做點什麼。如果你每天花大量時間在瀏覽器裡查資料、比價格、整理信息,Tabbit能幫你省下不少時間。Tabbit承諾標準版永久免費,每週有1000次對話、10個Agent任務的額度,對於普通用戶來說完全夠用。

生命週期約 17 個月,Notion Mail 電子郵件服務 9 月停運
科技媒體 9to5Mac 昨日(6 月 25 日)發佈博文,報道稱 Notion 宣佈 2026 年 9 月 22 日停止運營 Notion Mail 電子郵件服務,生命週期僅約 17 個月。
市佔登頂,設計封王:MOVA割草機器人獲紅點設計大獎,鑄就全球多維第一
素有“設計界奧斯卡”之稱的紅點產品設計獎(Red Dot Award: Product Design)2026年度評選結果正式揭曉,MOVA以一項空前紀錄震動業界:一次性申報的LiDAX Ultra、LiDAX Ultra AWD、NAVAX AWD等共七款智能割草機器人全部成功斬獲大獎,創下全球智能割草賽道獲獎總數第一、申報獲獎率100%第一的雙料紀錄。這不僅是紅點獎智能庭院品類有史以來的最佳戰績,更標誌著MOVA在全球高端工業設計舞臺站上了C位。設計上的加冕從來不是憑空而生,MOVA割草的領航之路,始於對核心技術的極致深耕和持續領跑。MOVA是業內首家將車規級3D激光雷達大規模引入消費級割草機器人的品牌。激光雷達提供全天候、高精度、抗幹擾的幾何感知能力,解決了傳統RTK方案在樹下、屋簷、狹窄通道等信號盲區的“失聯”痛點。在此基礎上,MOVA進一步探索,深度融合AI雙目視覺技術,自研UltraEyes™ 1.0 AI雙重視覺融合系統,配備雙1080P HDR超高清彩色攝像頭,結合深度學習實現實時語義分割與目標識別。這套“雷達+雙目”的多傳感器融合系統,讓MOVA割草機器人不僅知道“哪裡有什麼”,更能“看懂那是什麼”——可精準識別300餘種庭院障礙物,區分動態與靜態目標:奔跑中的貓狗主動避讓,靜止的玩具標記為障礙後規劃繞行路徑。用戶僅需通過MOVA home App一鍵啟動,5分鐘即可完成高精度庭院地圖構建,實現真正的“開箱即用”。正是這套從“幾何感知”到“語義理解”的技術躍遷,賦予了MOVA割草產品強大的功能底氣,也為工業設計師創造了“形態追隨功能”的自由度——無需為了遷就傳感器而犧牲美感,反而能讓每一顆雷達、每一組攝像頭都成為設計語言的一部分,最終呈現出功能與形式的高度統一。設計獎項從來不是孤立的榮譽,它與市場表現互為因果、相互成就。MOVA割草的技術與設計優勢,早已在
蘋果,一夜狂跌18000億
智東西 作者 | 楊京麗 編輯 | 李水青 智東西6月26日消息,昨晚,蘋果多款產品價格上漲,Mac、iPad、HomePod、Vision Pro等產品在中國官網的起售價均已上調。其中,Mac Studio起售價上漲3500元,MacBook Pro上漲2500元,Mac mini上漲800元,漲幅33.3%;iPad產品線也全線漲價,漲幅均超過20%,基礎款iPad起售價從2999元升至3799元。 ▲Mac系列產品最新價格(圖源:蘋果) 這輪漲價的直接原因,是AI數據中心擴張推高了內存芯片和存儲需求,帶動上游零部件成本快速上漲。蘋果此次漲價已在全球範圍生效,暫未波及iPhone、Apple Watch和AirPods。不過據彭博社報道,蘋果暗示,其未來可能對更多產品進行價格調整。 受漲價消息影響,截至美東時間6月25日收盤,蘋果單日股價下跌6.12%,收盤價275.15美元(約合人民幣1871.02元),創下2025年4月4日以來最大單日跌幅,收盤後市值約為4.04萬億美元(約合人民幣27.5萬億元),一天蒸發約2634億美元(約合人民幣1.8萬億元)。 ▲美東時間6月25日蘋果股價下跌6.12%(圖源:騰訊自選股) 一、蘋果多款產品價格上漲,Mac mini漲價33% 蘋果此次漲價覆蓋多款Mac產品。MacBook Neo起售價從4599元上調至5499元,上漲900元;MacBook Air起售價從8499元上調至9999元,上漲1500元;MacBook Pro起售價從13499元上調至15999元,上漲2500元。 iMac起售價從10999元升至12499元,上漲1500元;Mac Studio起售價從16499元升至19999元,上漲3500元。Mac mini起售價從4499元升至5999元,上漲1500元,漲幅達33.3%。 iPad產品線同樣全線漲價