Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
schpet avatar

Apple Container

  • 1 installs
  • 5 repo stars
  • Updated June 1, 2026
  • schpet/toolbox

Uses Apple's native container CLI to run and build OCI-compatible Linux containers on macOS with Apple silicon instead of Docker.

About

Guides using the macOS container runtime for building and running OCI images on Apple silicon. A developer uses it as a Docker alternative when working on a Mac.

  • Runs Linux containers as lightweight VMs on Apple silicon
  • OCI-compatible images work with standard registries

Apple Container by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,173 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/schpet/toolbox --skill apple-container

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars5
Last updatedJune 1, 2026
Repositoryschpet/toolbox

What it does

Uses Apple's native container CLI to run and build OCI-compatible Linux containers on macOS with Apple silicon instead of Docker.

Files

SKILL.mdMarkdownGitHub ↗

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

  • Tutorial - Guided tour building a simple web server
  • How-To Guide - Feature-specific guides
  • Technical Overview - Architecture and internals
  • Command Reference - Full CLI documentation

Related skills

DevOps & CI/CDdeployinfra

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.