···15151616- ๐ **Quick Start**: Launch OpenBSD VMs with a single command
1717- ๐ฆ **Auto-Download**: Automatically fetches OpenBSD ISO images from official
1818- CDN
1818+ CDN or OCI registries
1919- ๐ข **Version Support**: Specify any OpenBSD version (e.g., `7.8`, `6.4`)
2020- ๐พ **Flexible Storage**: Support for persistent disk images in multiple
2121 formats with auto-creation
2222-- โ๏ธ **Configurable**: Customize CPU, memory, cores, and more
2222+- ๐ณ **OCI Support**: Push, pull, and manage OpenBSD VM images using OCI
2323+ registries
2424+- โ๏ธ **Configurable**: Customize CPU, memory, cores, and more via TOML config
2325- ๐ **Network Ready**: Support for both NAT (SSH port forwarding) and bridge
2426 networking
2525-- ๏ฟฝ **Port Forwarding**: Custom port mapping with `--port-forward` option
2626-- ๏ฟฝ๐ **Serial Console**: Direct terminal access via `-nographic` mode
2727+- ๐ **Port Forwarding**: Custom port mapping with `--port-forward` option
2828+- ๐ **Serial Console**: Direct terminal access via `-nographic` mode
2729- ๐๏ธ **VM Management**: Persistent state tracking with SQLite database
2828-- ๐ **VM Lifecycle**: Start, stop, restart, list, and inspect VMs with unique names
2929-- ๐๏ธ **VM Cleanup**: Remove VMs from tracking with `rm` command
3030+- ๐ **VM Lifecycle**: Start, stop, restart, list, and inspect VMs with unique
3131+ names
3232+- ๐๏ธ **VM Cleanup**: Remove VMs and images with `rm` and `rmi` commands
3033- ๐ **Logs Management**: View and follow VM logs in real-time
3134- ๐ **Background Mode**: Run VMs detached with `--detach` option
3235- ๐ฏ **Smart Detection**: Automatically detects existing disk images to avoid
3336 data loss
3437- ๐ **Bridge Support**: Automatic bridge network creation and QEMU
3538 configuration
3939+- ๐ท๏ธ **Image Tags**: Tag and manage VM images with custom names
36403741## ๐ ๏ธ Requirements
3842···99103openbsd-up logs my-vm-name --follow
100104```
101105106106+### Image Management
107107+108108+```bash
109109+# Pull an OpenBSD image from an OCI registry
110110+openbsd-up pull ghcr.io/tsirysndr/openbsd:7.8
111111+112112+# Push an OpenBSD image to an OCI registry
113113+openbsd-up push my-openbsd-image:latest
114114+115115+# Tag an image
116116+openbsd-up tag ghcr.io/tsirysndr/openbsd:7.8 my-openbsd:latest
117117+118118+# List local images
119119+openbsd-up images
120120+121121+# Remove an image
122122+openbsd-up rmi my-openbsd:latest
123123+124124+# Run a container from an image
125125+openbsd-up run ghcr.io/tsirysndr/openbsd:7.8
126126+127127+# Inspect image details
128128+openbsd-up inspect ghcr.io/tsirysndr/openbsd:7.8
129129+```
130130+102131### Advanced Configuration
103132104133```bash
···143172144173### Subcommands
145174146146-| Command | Description | Example |
147147-| ---------------- | ---------------------------------------------- | -------------------------- |
148148-| `ps` | List virtual machines | `openbsd-up ps --all` |
149149-| `start <name>` | Start a stopped VM by name or ID | `openbsd-up start my-vm` |
150150-| `stop <name>` | Stop a running VM by name or ID | `openbsd-up stop my-vm` |
151151-| `restart <name>` | Restart a VM by name or ID | `openbsd-up restart my-vm` |
152152-| `rm <name>` | Remove a VM from state tracking | `openbsd-up rm my-vm` |
153153-| `inspect <name>` | Show detailed VM information and configuration | `openbsd-up inspect my-vm` |
154154-| `logs <name>` | View VM logs | `openbsd-up logs my-vm` |
175175+| Command | Description | Example |
176176+| -------------- | ----------------------------------- | ------------------------------------------ |
177177+| `ps` | List virtual machines | `openbsd-up ps --all` |
178178+| `start <n>` | Start a stopped VM by name or ID | `openbsd-up start my-vm` |
179179+| `stop <n>` | Stop a running VM by name or ID | `openbsd-up stop my-vm` |
180180+| `restart <n>` | Restart a VM by name or ID | `openbsd-up restart my-vm` |
181181+| `rm <n>` | Remove a VM from state tracking | `openbsd-up rm my-vm` |
182182+| `inspect <n>` | Show detailed VM/image information | `openbsd-up inspect my-vm` |
183183+| `logs <n>` | View VM logs | `openbsd-up logs my-vm` |
184184+| `pull <image>` | Pull an OpenBSD image from registry | `openbsd-up pull ghcr.io/user/openbsd:7.8` |
185185+| `push <image>` | Push an OpenBSD image to registry | `openbsd-up push my-openbsd:latest` |
186186+| `tag <s> <t>` | Tag an image with a new name | `openbsd-up tag source:tag target:tag` |
187187+| `images` | List local images | `openbsd-up images` |
188188+| `rmi <image>` | Remove an image | `openbsd-up rmi my-openbsd:latest` |
189189+| `run <image>` | Run a container from an image | `openbsd-up run ghcr.io/user/openbsd:7.8` |
155190156191## ๐ฅ๏ธ Console Setup
157192