# ply

> ply is a daemonless Linux container runtime and package manager: npm for containers. It resolves an app and its OS dependencies into a deterministic, content-addressed image that can be copied as one file and run without a daemon or registry server.

ply targets Linux on x86_64 and arm64. It is pre-1.0, uses TOML manifests and lockfiles, and deliberately does not provide orchestration, a proxy, install hooks, or a registry protocol. Prefer the linked Markdown documentation as the source of truth.

## Start here

- [Complete documentation](https://plybox.sh/llms-full.txt): All public documentation in one Markdown document.
- [Agent skill](https://plybox.sh/ply-skill.md): Practical instructions for coding agents working with ply.
- [What is ply](https://plybox.sh/docs-md/index.md): ply is a daemonless container runtime and package manager — npm for containers, in one static binary.
- [Quickstart](https://plybox.sh/docs-md/quickstart.md): Install ply, write a manifest, build a deterministic image, and run it — in five minutes.
- [Using ply with AI agents](https://plybox.sh/docs-md/agents.md): A skill file that teaches Claude Code, Cursor or any coding agent how ply actually works — manifests, publishing, service wiring, TLS and the failure modes.

## Guides

- [Dependencies & lockfiles](https://plybox.sh/docs-md/dependencies.md): How ply resolves version ranges with Minimal Version Selection and pins them in ply.lock.
- [Registries & publishing](https://plybox.sh/docs-md/registries.md): Any file host is a ply registry — GitHub Releases, an R2 bucket, a directory. Zero API.
- [Running & scaling](https://plybox.sh/docs-md/running.md): Instances are processes — foreground by default, one IP each, scaled with --scale N.
- [Multi-port apps](https://plybox.sh/docs-md/multi-port.md): One app serving two ports — HTTP + gRPC, an app plus its metrics — and where L4 stops being enough.
- [Databases & services](https://plybox.sh/docs-md/services.md): ply run postgres@17 — prebuilt runnable services from the registry, one command, no manifest.
- [Stacks & local dev](https://plybox.sh/docs-md/stacks.md): ply up starts several apps from one composition — each [[service]] block is one ply run — and ply.dev.toml / stack.dev.toml overlay dev behavior without touching the image.
- [Volumes & data](https://plybox.sh/docs-md/volumes.md): The three-tier write model — read-only rootfs, ephemeral scratch, named volumes.
- [Deploys, health & restarts](https://plybox.sh/docs-md/deploy.md): Zero-downtime rolling deploys with health gates and crash-loop restart policies — no daemon, no orchestrator.
- [Deployments & CD](https://plybox.sh/docs-md/deployments.md): A deployment is a file. Two ways to say where truth lives — fetch a built thing, or build one here — and a timer that keeps reality converged. Zero resident processes.
- [Dashboard](https://plybox.sh/docs-md/dashboard.md): The optional web UI — apps, logs, deploys, update checks, and a real terminal into any container. Itself just a ply app; every button is a file the operator granted.
- [Agent-native ops](https://plybox.sh/docs-md/agent-ops.md): The filesystem is the API — which means every AI agent already has the SDK. How to operate a ply host with an agent, and why there is no MCP server to install.
- [Autoscaling](https://plybox.sh/docs-md/autoscale.md): The run parent grows and shrinks the instance count — and each instance's CPU and memory limits — from a policy in the manifest. No daemon, no orchestrator.
- [Sealed secrets](https://plybox.sh/docs-md/secrets.md): Secrets that live in your repo as ciphertext and open only on the host, at launch, in memory.
- [Security & rootless](https://plybox.sh/docs-md/security.md): Secure by default — namespaces, dropped capabilities, seccomp, cgroups — and a first-class rootless mode.
- [Backups](https://plybox.sh/docs-md/backups.md): Snapshot any app's volumes as a dated image, restore by rolling it back in — nothing in the image has to cooperate.
- [Making packages](https://plybox.sh/docs-md/packages.md): Three ways to author ply packages — deb2pkg conversion, ply craft sessions, and plain directories.
- [Importing from Docker](https://plybox.sh/docs-md/docker.md): The one-way ecosystem bridge — ply import docker://image runs mainstream Docker Hub images unmodified.
- [Notifications](https://plybox.sh/docs-md/notifications.md): ply tells you when a deploy fails, an app crash-loops, a backup fails or a disk fills — to Telegram, Discord, a webhook or a command. No daemon.
- [ply on macOS](https://plybox.sh/docs-md/macos.md): Native ply run on Apple Silicon — one microVM per instance on Hypervisor.framework, built into the binary, installed by the same curl line as on Linux — and Lima as the alternative.
- [Running on DigitalOcean](https://plybox.sh/docs-md/digitalocean.md): Push-to-deploy from GitHub to a droplet — two actions, zero downtime, no orchestrator.

## Reference

- [ply.toml reference](https://plybox.sh/docs-md/manifest.md): Every key in the ply manifest — the [package] / [build] / [run] groups and all their fields.
- [CLI reference](https://plybox.sh/docs-md/cli.md): Every ply command with its important flags.
- [Image format & store](https://plybox.sh/docs-md/image-format.md): The filename grammar, deterministic squashfs format, content-addressed store, and registry file protocol.
- [Glossary](https://plybox.sh/docs-md/glossary.md): The words ply uses, what each one means, and the naming rule that keeps them consistent.

## Concepts

- [The ply model](https://plybox.sh/docs-md/model.md): The one rule behind every ply command — software must be predictable — and what it decides about catalogs, sources, stacks and names.
- [Architecture](https://plybox.sh/docs-md/architecture.md): The four borrowed mechanisms, the ten-step run path, and the discipline of what ply refuses to build.
- [ply vs Docker](https://plybox.sh/docs-md/ply-vs-docker.md): An honest comparison — different mental models, where each wins, and when to use which.
- [ply vs Kamal vs Coolify](https://plybox.sh/docs-md/ply-vs-kamal-coolify.md): An honest comparison for deploying to your own servers — where each fits, and where ply is still behind.

## Package registry

- [Registry](https://plybox.sh/registry/): Search the official package catalog.
- [Registry state](https://registry.plybox.sh/state.json): Machine-readable package, version, architecture, path, size, and publish-time data.

## Optional

- [Source code](https://github.com/iluxav/ply): Rust workspace, issue history, and releases.
- [Website](https://plybox.sh/): Human-readable product overview.
