Skip to content
Back to skills

Apple Container

ASecurity

Apple's native container runtime for macOS. Use this skill instead of Docker when running on macOS with Apple silicon. The `container` CLI provides OCI-compatible container management optimized for Apple silicon.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
documentationbashdockerdocumentation

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill apple-container --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Apple Container?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Apple Container
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-apple-container/badge)](https://www.skillsdirectory.com/skills/david-li0406-apple-container)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: apple-container
description: Apple's native container runtime for macOS. Use this skill instead of Docker when running on macOS with Apple silicon. The `container` CLI provides OCI-compatible container management optimized for Apple silicon.
---

# Apple Container

## Overview

Apple Container is a native container platform for macOS that runs Linux containers as lightweight virtual machines. It should be used **instead of Docker** on macOS with Apple silicon.

The `container` CLI is installed and available. It produces and consumes OCI-compatible container images, so images work with any standard container registry.

## Requirements

- Mac with Apple silicon
- macOS 26 or later

## Quick Start

```bash
# Start the system service (required once)
container system start

# Run a container
container run -it ubuntu:latest /bin/bash

# Build an image
container build -t myimage .

# List containers
container list

# Stop a container
container stop <container-id>
```

## Common Commands

| Command | Description |
|---------|-------------|
| `container run` | Run a container |
| `container build` | Build an image from Dockerfile |
| `container list` | List containers |
| `container stop` | Stop running containers |
| `container exec` | Run command in running container |
| `container logs` | Fetch container logs |
| `container image list` | List images |
| `container system start` | Start the system service |
| `container system stop` | Stop the system service |

## Docker Compatibility

The `container` CLI uses familiar Docker-like syntax:

| Docker Command | Container Command |
|----------------|-------------------|
| `docker run` | `container run` |
| `docker build` | `container build` |
| `docker ps` | `container list` |
| `docker stop` | `container stop` |
| `docker exec` | `container exec` |
| `docker logs` | `container logs` |
| `docker images` | `container image list` |

## Troubleshooting

### Builder Freezes

The buildkit builder can freeze, often due to insufficient memory. To fix:

1. Find and kill the frozen builder process:
   ```bash
   ps aux | grep buildkit
   kill -9 <pid>
   ```

2. Restart with more resources:
   ```bash
   container builder start --cpus 6 --memory 8g
   ```

## References

- [Tutorial](references/tutorial.md) - Guided tour building a simple web server
- [How-To Guide](references/how-to.md) - Feature-specific guides
- [Technical Overview](references/technical-overview.md) - Architecture and internals
- [Command Reference](references/command-reference.md) - Full CLI documentation

Files in this skill

  • SKILL.md2.5 KB
  • references/command-reference.md33 KB
  • references/how-to.md24.6 KB
  • references/technical-overview.md9 KB
  • references/tutorial.md12.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…