-
-
Notifications
You must be signed in to change notification settings - Fork 0
Colima Configuration
Norm Brandinger edited this page Nov 20, 2025
·
1 revision
- Overview
- VM Setup
- CPU Memory Disk Allocation
- Starting Colima
- Stopping Colima
- Colima Profiles
- Troubleshooting
- Colima vs Docker Desktop
Colima provides Docker container runtime on macOS using Lima VM. It's a free, lightweight alternative to Docker Desktop.
Initial setup:
# Install Colima
brew install colima
# Install Docker CLI
brew install docker docker-compose
# Start Colima (creates default profile)
colima startConfigure resources:
# Standard development setup
colima start --cpu 4 --memory 8 --disk 50
# High-performance setup
colima start --cpu 8 --memory 16 --disk 100
# With optimizations for Apple Silicon
colima start \
--cpu 8 \
--memory 16 \
--disk 100 \
--vm-type vz \
--vz-rosetta \
--mount-type virtiofs \
--network-addressResource recommendations:
| Workload | CPU | Memory | Disk |
|---|---|---|---|
| Light development | 2-4 | 4-6 GB | 30 GB |
| Standard (devstack-core) | 4-6 | 8-12 GB | 50 GB |
| Heavy workloads | 8+ | 16+ GB | 100+ GB |
Start default profile:
colima startStart with custom config:
colima start \
--cpu 6 \
--memory 12 \
--disk 80 \
--vm-type vz \
--vz-rosetta \
--mount-type virtiofsStart named profile:
colima start --profile devStop Colima:
colima stop
# Stop specific profile
colima stop --profile devDelete Colima instance:
colima delete
# Delete specific profile
colima delete --profile devCreate multiple environments:
# Development profile
colima start --profile dev --cpu 4 --memory 8
# Production-like profile
colima start --profile prod --cpu 8 --memory 16
# Switch between profiles
colima stop --profile dev
colima start --profile prod
# List profiles
colima listColima won't start:
# Check status
colima status
# View logs
colima logs
# Reset Colima
colima delete
colima startServices can't access host:
# Use host.docker.internal
curl http://host.docker.internal:8080Performance issues:
# Increase resources
colima stop
colima start --cpu 8 --memory 16
# Use VZ + Rosetta (Apple Silicon)
colima start --vm-type vz --vz-rosetta| Feature | Colima | Docker Desktop |
|---|---|---|
| Cost | Free, Open Source | Free for personal use, paid for enterprise |
| Resource Usage | Lightweight | Heavier |
| Performance | Comparable, faster with VZ | Good |
| UI | CLI only | GUI included |
| Setup | Manual | Automated |
| Kubernetes | Supported | Built-in |
Advantages of Colima:
- Free for commercial use
- Lighter weight
- Faster startup
- More control over VM configuration
- No licensing concerns
Disadvantages:
- No GUI
- More manual configuration
- Less polished user experience
- Performance-Tuning - VM optimization
- Network-Issues - Networking troubleshooting