Swiftdock

A native macOS container runtime and management tool

Why Swiftdock?

Mac-First Design

Built natively for macOS using Swift and Foundation APIs. Optimized for Apple Silicon.

Clean Architecture

Clear separation between daemon, CLI, and packages. Modular and maintainable codebase.

OCI Compatible

Pull and run standard OCI/Docker images from Docker Hub and other registries.

HTTP API

RESTful daemon API for programmatic control. Build custom clients and integrations.

Lightweight

Minimal dependencies. Uses native Process APIs for container execution.

Open Source

MIT Licensed and community driven. Contributions welcome!

Quick Start

# Start the daemon
cd swiftdock
swift run swiftdockd

# In a new terminal, pull an image
swift run swiftdock pull alpine:latest

# Run a container
swift run swiftdock run alpine:latest -- echo "Hello World"

# List containers
swift run swiftdock ps
Full Installation Guide →

Project Status

DONE

Milestone 1: OCI Puller

Image pulling with manifest parsing and layer unpacking

DONE

Milestone 2: Container Runtime

Process spawning, logging, and status management

DONE

Milestone 3: Daemon + API

HTTP daemon with REST API and CLI client

PLANNED

Milestone 4: Apple Clients

SwiftUI apps for iOS, iPadOS, macOS, and watchOS