askill
apple-container

apple-containerSafety --Repository

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.

1 stars
1.2k downloads
Updated 2/5/2026

Package Files

Loading files...
SKILL.md

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

# 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

CommandDescription
container runRun a container
container buildBuild an image from Dockerfile
container listList containers
container stopStop running containers
container execRun command in running container
container logsFetch container logs
container image listList images
container system startStart the system service
container system stopStop the system service

Docker Compatibility

The container CLI uses familiar Docker-like syntax:

Docker CommandContainer Command
docker runcontainer run
docker buildcontainer build
docker pscontainer list
docker stopcontainer stop
docker execcontainer exec
docker logscontainer logs
docker imagescontainer 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:

    ps aux | grep buildkit
    kill -9 <pid>
    
  2. Restart with more resources:

    container builder start --cpus 6 --memory 8g
    

References

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated2/5/2026
Publisherschpet

Tags

ci-cd