Fast, consistent dev environments without Docker Desktop
BoxLite provides lightweight Linux environments for development. On macOS with Apple Silicon, it runs Linux workloads at near-native speed using Virtualization.framework. No Docker Desktop license needed, sub-second startup times, and full compatibility with OCI images.
Developers often need Linux environments for:
BoxLite provides these environments with minimal overhead and maximum speed.
BoxLite: ~100ms vs Docker: seconds
BoxLite: Open source vs Docker Desktop: Paid for commercial use
BoxLite: Native ARM via Virtualization.framework
BoxLite: Minimal overhead vs Docker: VM + daemon
# Install BoxLite
pip install boxlite
# Run a command in an Ubuntu environment
boxlite run ubuntu:22.04 -- apt-get update
# Start an interactive shell
boxlite shell python:3.12
# Run your project's tests in isolation
boxlite run node:20 -- npm test Run your application in a production-like Linux environment while developing on macOS:
import boxlite
async def dev_environment():
async with boxlite.SimpleBox(
image="python:3.12",
mounts=["./src:/app"], # Mount source code
ports=["8000:8000"] # Expose dev server
) as box:
await box.exec("pip", "install", "-r", "/app/requirements.txt")
await box.exec("python", "/app/manage.py", "runserver") Run build and test steps in isolated environments:
Build software with specific toolchains:
Run tests in isolated environments:
BoxLite runs standard OCI/Docker images. Use existing images from Docker Hub, GitHub Container Registry, or your private registry:
# Official images
boxlite run python:3.12-slim -- python --version
boxlite run node:20-alpine -- node --version
boxlite run golang:1.21 -- go version
# Custom images
boxlite run ghcr.io/myorg/myimage:latest -- ./run.sh Get started with BoxLite in minutes.