Skip to main content

Configuration

HYPR is configured through environment variables and file paths.

Environment Variables

Core Settings

Logging

Examples:

Observability

Enable tracing:
With custom endpoint:

File Paths

Data Directory

Default: /var/lib/hypr Override with HYPR_DATA_DIR:
Contents:

Runtime Directory

Default: /run/hypr (Linux) or /tmp/hypr (macOS) Override with HYPR_RUNTIME_DIR:
Contents:

Service Ports

All HYPR services use ports in the 41000-41999 range.

VM Resources

Default Resources

When not specified, VMs use these defaults:

Override at Runtime

Override in Compose

Network Configuration

Linux

macOS

Custom Networks

Create networks with custom subnets:

Volume Configuration

Default Storage

Volumes are stored in /var/lib/hypr/volumes/:
  • Standalone volumes: /var/lib/hypr/volumes/local/<name>
  • Stack volumes: /var/lib/hypr/volumes/<stack>/<name>

Volume Driver

Currently only the local driver is supported, which stores data on the host filesystem.

Kernel Configuration

HYPR downloads a custom-built Linux kernel on first use. Kernel version: 6.12 Features enabled:
  • SquashFS with compression
  • OverlayFS
  • virtio drivers (blk, net, vsock, fs)
  • Container namespaces
  • Memory ballooning
Download source:
Architecture-specific files:
  • x86_64: vmlinux-x86_64
  • ARM64: Image-aarch64

Systemd Configuration (Linux)

Service file location: /etc/systemd/system/hyprd.service
Commands:

LaunchDaemon Configuration (macOS)

Plist location: /Library/LaunchDaemons/ai.hypr.hyprd.plist
Commands:

DNS Resolution

HYPR runs a DNS server for .hypr domain resolution on port 41003. Linux setup (systemd-resolved):
macOS setup:
Usage:

Database Configuration

HYPR uses SQLite for state persistence. Location: /var/lib/hypr/hypr.db Tables:
  • vms - VM records
  • images - Image metadata
  • stacks - Compose stacks
  • networks - Network definitions
  • volumes - Volume metadata
Migrations: Applied automatically on daemon startup Backup: