Files
container-notes/README.md
Timmy 133ed56d4b Add README
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-20 23:20:35 +08:00

33 lines
809 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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 Siliconarm64
- 官方僅支援 macOS 26+macOS 15 可透過 Homebrew 安裝執行,但網路功能受限