Docker wrapper that enables running Singularity SIF files on macOS and Windows.
Important
This repository is part of the larger MUXI ecosystem.
📋 Complete architectural overview: See muxi/ARCHITECTURE.md - explains how all 9 repositories fit together, dependencies, status, and roadmap.
MUXI formations are packaged as Singularity SIF files -- single-file, immutable containers that bundle an application with its entire runtime environment. SIF gives us reproducible execution: the same file runs identically everywhere, with no dependency drift, no virtualenv conflicts, and no "works on my machine" problems.
The catch is that Singularity only runs on Linux. On macOS and Windows, there is no native Singularity support. The Runtime Runner solves this by providing a minimal Docker image with Singularity pre-installed, so MUXI Server can execute SIF files on any platform via Docker Desktop.
You typically don't interact with this directly -- MUXI Server detects non-Linux platforms and uses the Runtime Runner automatically.
macOS/Windows Host
-> Docker Desktop (provides Linux VM)
-> runtime-runner container (has Singularity)
-> SIF file (mounted from host)
-> Formation executes
When you run MUXI Server on macOS or Windows, it automatically:
- Detects the platform
- Pulls
ghcr.io/muxi-ai/runtime-runner:latest - Spawns formations using this wrapper
docker pull ghcr.io/muxi-ai/runtime-runner:latest
# Verify Singularity is installed
docker run --rm ghcr.io/muxi-ai/runtime-runner:latest --version
# Run a SIF file
docker run --rm --privileged \
-v ./runtime.sif:/sif/runtime.sif \
-v ./formation:/formation \
-p 8001:8001 \
ghcr.io/muxi-ai/runtime-runner:latest \
exec /sif/runtime.sif python app.pySingularity creates user namespaces for container isolation, which requires privileged mode inside Docker. This is only for local development on macOS/Windows. Production Linux servers use native Singularity without Docker.
docker build -t runtime-runner:local .
docker run --rm runtime-runner:local --version- Base: Ubuntu 24.04
- Platforms: linux/amd64, linux/arm64
- Size: ~222MB
ghcr.io/muxi-ai/runtime-runner
Auto-built on push to main and version tags.
- muxi-ai/server -- Uses this wrapper on macOS/Windows
- muxi-ai/runtime -- SIF files that run inside this container
- muxi.org/docs -- Documentation
MIT