skills/container-use/SKILL.md
Use this skill when working with Apple Containers (lightweight Linux VMs) as a native Docker replacement on macOS. This includes building container images, running containers, managing container lifecycle, configuring networking, handling volumes, mounting files with SSH forwarding, or performing multi-platform builds. Invoke for tasks involving the container CLI, Apple container tool, or Linux containers on Apple Silicon macOS 26+.
npx skillsauth add olafgeibig/skills container-useInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guide for using Apple's container tool to run Linux containers on macOS.
container runs Linux containers in lightweight virtual machines (one VM per container) on macOS 26+ (Apple Silicon). It creates a native, secure, and performant alternative to Docker Desktop.
.pkg from GitHub Releases..pkg and follow instructions.container system start
Basic run (similar to Docker):
# Run interactive alpine shell
container run -it --rm alpine:latest sh
# Run web server detached with port mapping
container run -d --name web -p 8080:80 nginx:latest
Key Options:
--cpus <count>: Limit CPUs (default: 4)--memory <size>: Limit RAM (default: 1G). e.g., --memory 4g--volume <host>:<container>: Mount volumes.
container run -v ~/project:/code python:3.9
--ssh: Forward host SSH agent (great for git in containers).
container run --ssh -it ubuntu git clone [email protected]:me/repo.git
--mac-address <addr>: Set custom MAC address.Builds run in a special builder VM.
# Build current directory
container build -t my-app:latest .
# Build for multiple architectures
container build --arch arm64 --arch amd64 -t my-app:multi .
Tip: Increase builder resources if builds are slow:
container builder start --cpus 8 --memory 16g
# List running containers
container ls
# List all (including stopped)
container ls -a
# Stop/Start
container stop <name>
container start <name>
# View logs
container logs -f <name>
# Monitor stats (CPU/RAM)
container stats
Apple Containers use vmnet. Each network is isolated.
# Create a new isolated network
container network create backend --subnet 192.168.100.0/24
# Run container in network
container run --network backend nginx
| Docker Command | Container Command | Notes |
| :--- | :--- | :--- |
| docker run ... | container run ... | Mostly compatible flags (-v, -p, -d, -it) |
| docker ps | container ls | |
| docker build ... | container build ... | |
| docker logs ... | container logs ... | |
| docker exec ... | No direct equivalent yet | Use ssh or attach if supported, or design containers to not need exec. |
| docker network ... | container network ... | |
Key Differences:
container uses one lightweight VM per container. This improves isolation but changes resource usage patterns.~/Library/Containers/....vminitd) runs per-container inside the VM.System Logs: If something fails, check the system logs:
container system logs
Uninstall: To remove everything (including data):
/usr/local/bin/uninstall-container.sh -d
development
Multi-domain LLM Wiki in vault — build and maintain a federation of interlinked markdown wiki knowledge bases inside your Obsidian vault. Each domain wiki has its own schema, index, and log, linked across boundaries via path-based wikilinks. Use when user wants to use a wiki (create, ingest into, query, lint).
tools
Safe and effective use of TurboVault MCP tools — vault selection, active vault management, read/write/edit_note patterns, SEARCH/REPLACE syntax, search tools, graph tools, batch operations, verification, and troubleshooting. Load this skill whenever a task uses mcp_turbovault_* tools.
testing
--- name: {{BUNDLE_NAME}}-improvements description: "Container for agent-discovered optimizations to the {{BUNDLE_NAME}} bundle — {{SKILL_NAMES}}" metadata: version: "0.3.0" source: https://github.com/olafgeibig/skills hermes: tags: [template, improvement, bundle, profile] related_skills: [{{SKILL_NAMES}}] --- # {{BUNDLE_NAME}} Improvements This skill collects all improvements discovered while working with {{SKILL_LIST}}. Core skills remain untouched. **Profile-specific:** This
testing
--- name: {{BUNDLE_NAME}}-improvements description: "Container for agent-discovered optimizations to the {{BUNDLE_NAME}} bundle — {{SKILL_NAMES}}" metadata: version: "0.3.0" source: https://github.com/olafgeibig/skills hermes: tags: [template, improvement, bundle, profile] related_skills: [{{SKILL_NAMES}}] --- # {{BUNDLE_NAME}} Improvements This skill collects all improvements discovered while working with {{SKILL_LIST}}. Core skills remain untouched. **Profile-specific:** This