Metadata-Version: 2.4
Name: pd-compose
Version: 0.2.0
Summary: A minimal compose-like tool for proot-distro
Author: aleguacaran
License-Expression: MIT
Project-URL: Homepage, https://github.com/aleguacaran/pd-compose
Keywords: termux,proot-distro,proot,container
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: typer>=0.9
Requires-Dist: pyyaml>=6.0
Requires-Dist: proot-distro
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"

# pd-compose

**pd-compose** is a minimal compose-like tool for [proot-distro](https://github.com/termux/proot-distro). It reads a `pd-compose.yaml` to install, start, and stop proot-distro containers — inspired by Docker Compose.

## Usage

Define services in `pd-compose.yaml`:

```yaml
services:
  ubuntu-vm:
    image: ubuntu:24.04
    binds:
      - /host/path:/container/path
    environment:
      DEBIAN_FRONTEND: noninteractive
```

Run:

```
pd-compose.py up    # install and show login command
pd-compose.py ps    # list installed containers
pd-compose.py down  # remove all containers
```

## Credits

- Built on top of [proot-distro](https://github.com/termux/proot-distro) by Termux.
- Inspired by [Docker Compose](https://github.com/docker/compose).
