# container-notes 在 macOS 上使用 [apple/container](https://github.com/apple/container) 的安裝與操作筆記。 `container` 是 Apple 推出、以輕量虛擬機在 macOS 上執行 Linux 容器的工具。 ## 內容 - [container-setup.md](container-setup.md) — 完整安裝、啟動、常用指令與疑難排解筆記 ## 快速開始 ```bash # 安裝(Homebrew) brew install container # 啟動服務 container system start # 首次需設定預設 kernel container system kernel set --recommended # 測試 container run --rm docker.io/library/alpine echo "hello from container" ``` 詳細說明見 [container-setup.md](container-setup.md)。 ## 環境備註 - 需 Apple Silicon(arm64) - 官方僅支援 macOS 26+;macOS 15 可透過 Homebrew 安裝執行,但網路功能受限