Run containerized workloads in VMs, powered by Cloud Hypervisor.
Go 1.25.4+, KVM, erofs-utils
mkfs.erofs --versionKVM Access: User must be in kvm group for VM access:
sudo usermod -aG kvm $USER
# Log out and back in, or use: newgrp kvmcp .env.example .env
# Edit .env and set JWT_SECRETHypeman stores data in a configurable directory. Configure permissions for this directory.
sudo mkdir /var/lib/hypeman
sudo chown $USER:$USER /var/lib/hypemanRequires Docker Hub authentication to avoid rate limits when running the tests:
docker loginDocker itself isn't required to be installed. ~/.docker/config.json is a standard used for handling registry authentication.
make build- Copy the example environment file and modify the values:
cp .env.example .env
# Edit .env and set JWT_SECRET and other configuration values- Generate a JWT token for testing (optional):
make gen-jwt- Start the server with hot-reload for development:
make devThe server will start on port 8080 (configurable via PORT environment variable).
make testAfter modifying openapi.yaml, regenerate the Go code:
make oapi-generateAfter modifying dependency injection in cmd/api/wire.go or lib/providers/providers.go, regenerate wire code:
make generate-wireOr generate everything at once:
make generate-all