一键导入
docker-colima
Docker on macOS via Colima. Use when running Docker containers, debugging container issues, or working with docker-compose on Mac.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Docker on macOS via Colima. Use when running Docker containers, debugging container issues, or working with docker-compose on Mac.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deploying and benchmarking on Jetson Orin Nano. Use when deploying code to Jetson, running TensorRT inference, monitoring GPU usage, or benchmarking performance.
CouchVision perception stack — YOLOv8 + YOLOP + TensorRT + RTAB-Map SLAM. Use when working on object detection, lane segmentation, model export, SLAM, or running the perception stack on Mac or Jetson.
RTAB-Map SLAM integration with CouchVision. Use when working on visual SLAM, loop closure, keyframe tuning, or debugging map building issues.
ROS2 Jazzy on macOS Apple Silicon. Use when running ROS2 commands, debugging DDS discovery, launching rviz2, or working with the CouchVision bridge.
| name | docker-colima |
| description | Docker on macOS via Colima. Use when running Docker containers, debugging container issues, or working with docker-compose on Mac. |
Docker Desktop on macOS has licensing restrictions and performance issues. Colima provides a lightweight alternative using Lima VMs.
CouchVision uses Colima for all Docker operations on Mac.
# Install Colima (if not already installed)
brew install colima docker docker-compose
# Start Colima with sufficient resources
colima start --cpu 4 --memory 8 --disk 50
# Verify
docker ps
Before any Docker command on Mac, ensure Colima is running:
colima status # Check if running
colima start # Start if stopped
If docker commands hang or fail with "Cannot connect to Docker daemon", Colima is not running.
The perception stack needs sufficient memory:
# Stop and restart with more resources
colima stop
colima start --cpu 4 --memory 8 --disk 50
Recommended minimums:
colima start
# Wait for "Done" message, then retry
Increase Colima memory:
colima stop
colima start --memory 12
Expected on Mac — PyTorch under amd64 emulation (via Rosetta 2) is slow. First model load takes 60-90 seconds. Subsequent runs are faster due to caching.
# Find what's using port 8765 (Foxglove)
lsof -i :8765
# Kill it or use a different port
colima delete
colima start --cpu 4 --memory 8 --disk 50
# Will need to rebuild images
CouchVision Docker images are amd64 only (x86_64). On Apple Silicon Macs (arm64), Colima runs them via Rosetta 2 emulation.
Implications:
This is fine for development/testing. Production runs on Jetson (native arm64 + CUDA).
The perception stack uses docker-compose:
# Build and run (handles Colima automatically via Makefile)
make full-stack BAG=bags/your_bag.mcap
# Manual docker-compose
docker compose -f perception/docker-compose.nav2.yml build
docker compose -f perception/docker-compose.nav2.yml up
# View logs
docker compose -f perception/docker-compose.nav2.yml logs -f
# Stop
docker compose -f perception/docker-compose.nav2.yml down
The docker-compose.yml mounts:
./bags:/perception/bags — bag files./weights:/perception/weights — model weights + TRT engines./config:/perception/config — YAML configs (hot-reloadable)Changes to mounted files are visible immediately without rebuilding.
# Shell into running container
docker exec -it perception-nav2-planner-1 bash
# Run ROS2 commands inside
source /opt/ros/jazzy/setup.bash
ros2 topic list
ros2 topic echo /map
| Feature | Colima | Docker Desktop |
|---|---|---|
| License | Free (open source) | Paid for large orgs |
| Performance | Good | Good |
| GPU passthrough | No | No (Mac) |
| Resource control | CLI flags | GUI |
| Stability | Good | Good |