Skip to main content
Only for Apple Silicon

Socktainer

Docker REST API for Apple Containers

Use your existing Docker tooling on macOS with Apple containers 🍏, through a Docker-compatible REST API built on Apple's Container Framework.

1 · Start─2 · Run─3 · Use
$ container system start
✓ Apple container ready
$ ./socktainer
✓ listening on ~/.socktainer/container.sock
$ export DOCKER_HOST=\
unix://$HOME/.socktainer/container.sock
$ docker ps
CONTAINER ID IMAGE STATUS 3f2a9c1e7b4d nginx Up 2 seconds
Works withDocker CLITestcontainersPodman Desktop
GitHub starsLatest release
Why Socktainer

Key Features

Running Docker workloads on macOS with Apple's container framework

🐳

Docker API compatible

A Docker-compatible REST API, so the tools you already use talk to Apple containers unchanged.

Docker CLITestcontainersPodman Desktopany Docker API client
🍏

Built on Apple container

Runs on Apple's containerization framework, designed for Apple Silicon.

arm641 VM per containerSwift
☕

Testcontainers

Run your integration tests on macOS without Docker Desktop.

♻️

Container lifecycle

Create, run and inspect containers, follow logs, exec into them and stream events.

$ docker logs -f web
listening on :8080
createstartstoprestartkillrminspectlogsexecattachevents
📦

Image management

Pull, build and push OCI images, with authentication for your registries.

pullbuildpushtaglistdeletesave / load
🔌

Unix socket

Point DOCKER_HOST at the socket and you are done.

export DOCKER_HOST=
unix://$HOME/.socktainer/container.sock

Ready to get started?

Download Socktainer and start running your Docker workloads on Apple containers today.